From b526f8ed4de646bb914da43b60322852febde758 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 14 Jul 2008 19:08:52 +0100 Subject: shortlog: support --pretty=format: option With this patch, the user can override the default setting, to print the commit messages using a user format instead of the onelines of the commits. Example: $ git shortlog --pretty='format:%s (%h)' .. Note that shortlog will only respect a user format setting, as the other formats do not make much sense. Wished for by Andrew Morton. Signed-off-by: Johannes Schindelin 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 31ff491b7..6608ee80b 100644 --- a/shortlog.h +++ b/shortlog.h @@ -11,6 +11,7 @@ struct shortlog { int wrap; int in1; int in2; + int user_format; char *common_repo_prefix; int email; -- cgit v1.2.1