summaryrefslogtreecommitdiff
path: root/contrib/examples
diff options
context:
space:
mode:
authorLibravatar Michael J Gruber <git@drmicha.warpmail.net>2010-06-14 18:12:29 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-06-16 14:45:09 -0700
commit7b88176e9bce658fd44c2192c1b7aa6e612ee0c2 (patch)
treeb69a131050b6b093f75addb97094118ba7c96d19 /contrib/examples
parentUpdate draft release notes to 1.7.2 (diff)
downloadtgif-7b88176e9bce658fd44c2192c1b7aa6e612ee0c2.tar.xz
pretty: Introduce ' ' modifier to add space if non-empty
We have the '+' modifiier which helps combine format specifiers which may possibly be empty, e.g. '%s%+b%n'. Introduce an analogous ' ' (space) modifier which adds a space before non-empty items. This helps assemble "one line type" format specifiers. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples')
0 files changed, 0 insertions, 0 deletions