Revision f53bd743ff713f6507f28f8e730ac3e27858ab43 authored by René Scharfe on 27 December 2008, 00:49:21 UTC, committed by Junio C Hamano on 27 December 2008, 20:02:49 UTC
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>
1 parent 88c4473
History
File Mode Size
git-import.perl -rwxr-xr-x 1.4 KB
git-import.sh -rwxr-xr-x 724 bytes
git-p4 -rwxr-xr-x 67.2 KB
git-p4.bat -rw-r--r-- 28 bytes
git-p4.txt -rw-r--r-- 6.4 KB
import-tars.perl -rwxr-xr-x 3.2 KB
import-zips.py -rwxr-xr-x 1.8 KB

back to top