Code

Give short-hands to --pretty=tformat:%formatstring
authorNanako Shiraishi <nanako3@lavabit.com>
Tue, 24 Feb 2009 09:59:15 +0000 (18:59 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Feb 2009 07:53:38 +0000 (23:53 -0800)
commit36407548a2825462a91b456755412a65fd611fc0
treee9932b7d92ae2d995636eb5cfebe528243cde6a2
parent3a4c1a5e212357c3df030b6713c75466694c2e77
Give short-hands to --pretty=tformat:%formatstring

Allow --pretty="%h %s" (and --format="%h %s") as shorthand for an often
used option --pretty=tformat:"%h %s".

Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt
pretty.c