about summary refs log tree commit diff
path: root/third_party/git/shortlog.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/shortlog.h')
-rw-r--r--third_party/git/shortlog.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/third_party/git/shortlog.h b/third_party/git/shortlog.h
index 2fa61c429462..64be879b241b 100644
--- a/third_party/git/shortlog.h
+++ b/third_party/git/shortlog.h
@@ -15,7 +15,13 @@ struct shortlog {
 	int in2;
 	int user_format;
 	int abbrev;
-	int committer;
+
+	enum {
+		SHORTLOG_GROUP_AUTHOR = (1 << 0),
+		SHORTLOG_GROUP_COMMITTER = (1 << 1),
+		SHORTLOG_GROUP_TRAILER = (1 << 2),
+	} groups;
+	struct string_list trailers;
 
 	char *common_repo_prefix;
 	int email;