Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule.c: use GIT_DIR_ENVIRONMENT consistently
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index ece17315d671cf182f21c261d879c58f193cde09..fa32f450331a8ac7ab0bc7eb8008cf00427a1f73 100644
(file)
--- a/
submodule.c
+++ b/
submodule.c
@@
-1333,5
+1333,6
@@
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");
+ argv_array_pushf(out, "%s=%s", GIT_DIR_ENVIRONMENT,
+ DEFAULT_GIT_DIR_ENVIRONMENT);
}