Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
files_read_raw_ref: avoid infinite loop on broken symlinks
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index 1b5cdfb7e784d646c15e59afb2fb43587a8ff8e9..e8258f061ac5726d8001a5b207886b3191745eaa 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");
}