summaryrefslogtreecommitdiff
path: root/shortlog.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-10-11 18:45:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-12-16 00:19:13 (GMT)
commitfbfda15fb8daf7388a19b8bed2f319a8c1b6c5f1 (patch)
treec5109230c95068da6d220505a0ceee82d59b123c /shortlog.h
parenta274e0a036ea886a31f8b216564ab1b4a3142f6c (diff)
downloadgit-fbfda15fb8daf7388a19b8bed2f319a8c1b6c5f1.zip
git-fbfda15fb8daf7388a19b8bed2f319a8c1b6c5f1.tar.gz
git-fbfda15fb8daf7388a19b8bed2f319a8c1b6c5f1.tar.bz2
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 5a326c6..5d64cfe 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;