pretty: add %D format specifier
commit9271095cc5571e306d709ebf8eb7f0a388254d9d
authorHarry Jeffery <harry@exec64.co.uk>
Thu, 18 Sep 2014 20:53:53 +0000 (18 21:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Sep 2014 22:15:21 +0000 (18 15:15 -0700)
tree82f6c8af5766632711b0daa9012f4af903c1b3bb
parent96db324a73fdada6fbe7b63221986f8f18cc63b0
pretty: add %D format specifier

Add a new format specifier, '%D' that is identical in behaviour to '%d',
except that it does not include the ' (' prefix or ')' suffix provided
by '%d'.

Signed-off-by: Harry Jeffery <harry@exec64.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt
log-tree.c
log-tree.h
pretty.c
t/t4205-log-pretty-formats.sh