summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ae1dffc)
raw | patch | inline | side by side (parent: ae1dffc)
author | Alex Riesen <raa.lkml@gmail.com> | |
Tue, 23 Jan 2007 15:51:18 +0000 (16:51 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 25 Jan 2007 01:33:25 +0000 (17:33 -0800) |
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-init-db.c | patch | blob | history |
diff --git a/builtin-init-db.c b/builtin-init-db.c
index 8e7540b6922696fb8100879eb9c4acf587f004db..186548938193ac125d9d9f89080cec640d0a46e0 100644 (file)
--- a/builtin-init-db.c
+++ b/builtin-init-db.c
}
else {
git_config_set("core.bare", "false");
- git_config_set("core.logallrefupdates", "true");
+ /* allow template config file to override the default */
+ if (log_all_ref_updates == -1)
+ git_config_set("core.logallrefupdates", "true");
}
return reinit;
}