Code

format-patch: wrap cover-letter's shortlog sensibly
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sun, 2 Mar 2008 15:53:39 +0000 (15:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Mar 2008 23:27:27 +0000 (15:27 -0800)
commit859c4fbef589841585f8f21cc567b7016681df7a
tree45761d48fcf8d116006f3bd5703a95ba71845efa
parent5d02294c776c46f0d454470c66c16fe9f08fad3d
format-patch: wrap cover-letter's shortlog sensibly

Earlier, overly-long onelines would not be wrapped at all, and indented
with 6 spaces.

Instead, we now wrap around at 72 characters, with a first-line indent
of 2 spaces, and the rest with 4 spaces.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c
t/t4013/diff.format-patch_--stdout_--cover-letter_-n_initial..master^
t/t4014-format-patch.sh