Documentation: pack-refs --all vs default behaviour
[gitweb.git] / refs.c
diff --git a/refs.c b/refs.c
index 81173282fce15c1bd93feea86d3f5ec99d5914d4..4323e9a41a6c2f4fe7f0dba4b53e083bd8576d50 100644 (file)
--- a/refs.c
+++ b/refs.c
@@ -958,7 +958,7 @@ static int log_ref_write(struct ref_lock *lock,
                                     lock->log_file, strerror(errno));
        }
 
-       committer = git_committer_info(1);
+       committer = git_committer_info(-1);
        if (msg) {
                maxlen = strlen(committer) + strlen(msg) + 2*40 + 5;
                logrec = xmalloc(maxlen);