summaryrefslogtreecommitdiff
path: root/csum-file.c
diff options
context:
space:
mode:
authorLibravatar Michal Vitecek <fuf@mageo.cz>2007-09-25 16:38:46 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-09-26 00:40:47 -0700
commit55246aac6717e86c14f31391ac903ed810d1a9a0 (patch)
treed2526538770e575669d0d0ac648f45328e0e42de /csum-file.c
parentrebase -i: create .dotest-merge after validating options. (diff)
downloadtgif-55246aac6717e86c14f31391ac903ed810d1a9a0.tar.xz
Don't use "<unknown>" for placeholders and suppress printing of empty user formats.
This changes the interporate() to replace entries with NULL values by the empty string, and uses it to interpolate missing fields in custom format output used in git-log and friends. It is most useful to avoid <unknown> output from %b format for a commit log message that lack any body text. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'csum-file.c')
0 files changed, 0 insertions, 0 deletions