Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/name-rev-lw-tag'
[gitweb.git]
/
environment.c
diff --git
a/environment.c
b/environment.c
index 1f0bda5afabe901bea250e7dabcc39c5325baf88..aa478e71de9d9c233593de050d6823e96be77b88 100644
(file)
--- a/
environment.c
+++ b/
environment.c
@@
-217,6
+217,8
@@
const char *get_git_dir(void)
const char *get_git_common_dir(void)
{
+ if (!git_dir)
+ setup_git_env();
return git_common_dir;
}