Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule: avoid auto-discovery in prepare_submodule_repo_env()
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index 4532b11d66f8cdc0abdf003b3a16a632bd923890..2801fbbe1483a0ee1eea058c99b757da8b465122 100644
(file)
--- a/
submodule.c
+++ b/
submodule.c
@@
-1160,4
+1160,5
@@
void prepare_submodule_repo_env(struct argv_array *out)
if (strcmp(*var, CONFIG_DATA_ENVIRONMENT))
argv_array_push(out, *var);
}
+ argv_array_push(out, "GIT_DIR=.git");
}