read_early_config(): avoid .git/config hack when unneeded
[gitweb.git] / branch.c
index c431cbf6a9f08dedc791317cc1a357730bdf3515..b955d4f316c799f7788896806302bfd4dbcf3ec4 100644 (file)
--- a/branch.c
+++ b/branch.c
@@ -298,7 +298,7 @@ void create_branch(const char *name, const char *start_name,
                         start_name);
 
        if (reflog)
-               log_all_ref_updates = 1;
+               log_all_ref_updates = LOG_REFS_NORMAL;
 
        if (!dont_change_ref) {
                struct ref_transaction *transaction;