From fbfda15fb8daf7388a19b8bed2f319a8c1b6c5f1 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 11 Oct 2016 11:45:58 -0700 Subject: 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 Signed-off-by: Junio C Hamano --- shortlog.h | 1 + 1 file changed, 1 insertion(+) (limited to 'shortlog.h') 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; -- cgit v1.2.3