Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add missing inside_work_tree setting in setup_git_directory_gently
[gitweb.git]
/
setup.c
diff --git
a/setup.c
b/setup.c
index 145eca50f41d811c4c8fcb21ed2604e6b2971aba..6f8f76958439cfcbcb1bd634e466c28e3da9fca1 100644
(file)
--- a/
setup.c
+++ b/
setup.c
@@
-240,6
+240,7
@@
const char *setup_git_directory_gently(int *nongit_ok)
if (chdir(work_tree_env) < 0)
die ("Could not chdir to %s", work_tree_env);
strcat(buffer, "/");
+ inside_work_tree = 1;
return retval;
}
if (nongit_ok) {