Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fix git commit --amend -m "new message"
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index 3e6e98c5eb20fc7a365d25b3abc275644b4c26f9..759924d0c93621d72918f29145ae0377f34e8e0c 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-1094,7
+1094,7
@@
static int log_ref_write(const char *ref_name, const unsigned char *old_sha1,
adjust_shared_perm(log_file);
msglen = msg ? strlen(msg) : 0;
- committer = git_committer_info(
-1
);
+ committer = git_committer_info(
0
);
maxlen = strlen(committer) + msglen + 100;
logrec = xmalloc(maxlen);
len = sprintf(logrec, "%s %s %s\n",