Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
reflog expire: prune commits that are not incomplete
[gitweb.git]
/
builtin-init-db.c
diff --git
a/builtin-init-db.c
b/builtin-init-db.c
index c8ed5c2a0b8837c443be790eb6b4b520c6d6373b..01f366ad0bf5860aaf9123ef5d5653c612871a9f 100644
(file)
--- a/
builtin-init-db.c
+++ b/
builtin-init-db.c
@@
-125,7
+125,7
@@
static void copy_templates(const char *git_dir, int len, const char *template_di
DIR *dir;
if (!template_dir) {
- template_dir = getenv(
"GIT_TEMPLATE_DIR"
);
+ template_dir = getenv(
TEMPLATE_DIR_ENVIRONMENT
);
if (!template_dir)
template_dir = DEFAULT_GIT_TEMPLATE_DIR;
}