author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Mon, 14 Jul 2008 18:08:52 +0000 (19:08 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 15 Jul 2008 14:37:00 +0000 (07:37 -0700) | ||
commit | b526f8ed4de646bb914da43b60322852febde758 | |
tree | 80b3064735c65c08d9a8af2833dcd9f1b32e9a32 | tree | snapshot |
parent | 1e5aaa6db38964fd6ca679864c0a40f7af01cf1a | commit | diff |
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)' <commit>..
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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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)' <commit>..
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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-shortlog.c | diff | blob | history | |
shortlog.h | diff | blob | history |