aboutsummaryrefslogtreecommitdiff
path: root/diffcore-rename.c
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2008-12-27 01:49:21 +0100
committerJunio C Hamano <gitster@pobox.com>2008-12-27 12:02:49 -0800
commitf53bd743ff713f6507f28f8e730ac3e27858ab43 (patch)
tree16025c071a50e62b097d1b784090231e667a38e1 /diffcore-rename.c
parent88c44735ab24aea3e669501c4491f7c9ca745ca3 (diff)
downloadgit-f53bd743ff713f6507f28f8e730ac3e27858ab43.tar.gz
git-f53bd743ff713f6507f28f8e730ac3e27858ab43.tar.xz
pretty: support multiline subjects with format:
git log --pretty=format:%s (and tformat:) used to display the first line of the subject, unlike the other --pretty options, which would construct a subject line from all lines of the first paragraph of the commit message. For consistency and increased code reuse, change format: to do the same as the other options. Before: $ git log --pretty=oneline v1.6.1 | md5sum 7c0896d2a94fc3315a0372b9b3373a8f - $ git log --pretty=tformat:"%H %s" v1.6.1 | md5sum 298903b1c065002e15daa5329213c51f - After: $ git log --pretty=tformat:"%H %s" v1.6.1 | md5sum 7c0896d2a94fc3315a0372b9b3373a8f - $ git log --pretty=oneline v1.6.1 | md5sum 7c0896d2a94fc3315a0372b9b3373a8f - Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-rename.c')
0 files changed, 0 insertions, 0 deletions