summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2024-03-24 12:21:15 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-25 11:59:26 -0700
commit7c43bdf07b63ce86572bec1db9d19a160c8de8cd (patch)
tree4b415eb640e1be9fe8a5cdcc2c0e1b2a97ecef05 /builtin/commit.c
parente36091aa1d67cedba02ea9de9245f0ff14a52f15 (diff)
cat-file: use strbuf_expand_bad_format()
Report unknown format elements and missing closing parentheses with consistent and translated messages by calling strbuf_expand_bad_format() at the very end of the combined if/else chain of expand_format() and expand_atom(). Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions