Allow non-developer to clone, checkout and fetch more easily.
[gitweb.git] / builtin-log.c
index 503cd1e2be64a65032fd43dffa71f0340a94ed1f..56acc137f0bf73d30961da7350200e1c6f3b48bf 100644 (file)
@@ -352,7 +352,7 @@ static void get_patch_ids(struct rev_info *rev, struct diff_options *options, co
 
 static void gen_message_id(char *dest, unsigned int length, char *base)
 {
-       const char *committer = git_committer_info(1);
+       const char *committer = git_committer_info(-1);
        const char *email_start = strrchr(committer, '<');
        const char *email_end = strrchr(committer, '>');
        if(!email_start || !email_end || email_start > email_end - 1)