Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule: port resolve_relative_url from shell to C
[gitweb.git]
/
environment.c
diff --git
a/environment.c
b/environment.c
index b329024f134a9c859689f99e8818d8b58a6b05ce..6dec9d0403f11579a7ab316db87a1dbbc58e71b2 100644
(file)
--- a/
environment.c
+++ b/
environment.c
@@
-242,8
+242,6
@@
void set_git_work_tree(const char *new_work_tree)
}
git_work_tree_initialized = 1;
work_tree = xstrdup(real_path(new_work_tree));
- if (setenv(GIT_WORK_TREE_ENVIRONMENT, work_tree, 1))
- die("could not set GIT_WORK_TREE to '%s'", work_tree);
}
const char *get_git_work_tree(void)