summaryrefslogtreecommitdiff
path: root/shortlog.h
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@linux-foundation.org>2016-10-11 11:45:58 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-12-15 16:19:13 -0800
commitfbfda15fb8daf7388a19b8bed2f319a8c1b6c5f1 (patch)
treec5109230c95068da6d220505a0ceee82d59b123c /shortlog.h
parentSync with maint-2.10 (diff)
downloadtgif-fbfda15fb8daf7388a19b8bed2f319a8c1b6c5f1.tar.xz
shortlog: group by committer information
In some situations you may want to group the commits not by author, but by committer instead. For example, when I just wanted to look up what I'm still missing from linux-next in the current merge window, I don't care so much about who wrote a patch, as what git tree it came from, which generally boils down to "who committed it". So make git shortlog take a "-c" or "--committer" option to switch grouping to that. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shortlog.h')
-rw-r--r--shortlog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shortlog.h b/shortlog.h
index 5a326c6860..5d64cfe929 100644
--- a/shortlog.h
+++ b/shortlog.h
@@ -13,6 +13,7 @@ struct shortlog {
int in2;
int user_format;
int abbrev;
+ int committer;
char *common_repo_prefix;
int email;