diff options
author | 2009-01-06 21:41:06 +0100 | |
---|---|---|
committer | 2009-01-06 22:06:07 -0800 | |
commit | cec08717cca468c66eb454c7201fd35f54b48a58 (patch) | |
tree | e9dabc225b562c43a412bd509ec395b4ea6171bf /builtin-reflog.c | |
parent | pretty: support multiline subjects with format: (diff) | |
download | tgif-cec08717cca468c66eb454c7201fd35f54b48a58.tar.xz |
shortlog: handle multi-line subjects like log --pretty=oneline et. al. do
The commit message parser of git shortlog used to treat only the first
non-empty line of the commit message as the subject. Other log commands
(e.g. --pretty=oneline) show the whole first paragraph instead (unwrapped
into a single line).
For consistency, this patch borrows format_subject() from pretty.c to
make shortlog do the same.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-reflog.c')
0 files changed, 0 insertions, 0 deletions