shortlog: handle multi-line subjects like log --pretty=oneline et. al. do
authorRené Scharfe <redacted>
Tue, 6 Jan 2009 20:41:06 +0000 (21:41 +0100)
committerJunio C Hamano <redacted>
Wed, 7 Jan 2009 06:06:07 +0000 (22:06 -0800)
commitcec08717cca468c66eb454c7201fd35f54b48a58
treee9dabc225b562c43a412bd509ec395b4ea6171bf
parentf53bd743ff713f6507f28f8e730ac3e27858ab43
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin-shortlog.c
pretty.c
git clone https://git.99rst.org/PROJECT