Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
[gitweb.git]
/
connect.c
diff --git
a/connect.c
b/connect.c
index a5afd2a5361d840347eb64a3a73db9d8dcbd1057..65e79edc77101ba4f195d5ce267c712da52b3b0b 100644
(file)
--- a/
connect.c
+++ b/
connect.c
@@
-587,6
+587,7
@@
pid_t git_connect(int fd[2], char *url, const char *prog, int flags)
unsetenv(ALTERNATE_DB_ENVIRONMENT);
unsetenv(DB_ENVIRONMENT);
unsetenv(GIT_DIR_ENVIRONMENT);
+ unsetenv(GIT_WORK_TREE_ENVIRONMENT);
unsetenv(GRAFT_ENVIRONMENT);
unsetenv(INDEX_ENVIRONMENT);
execlp("sh", "sh", "-c", command, NULL);