summaryrefslogtreecommitdiff
path: root/t/t4018/cpp-struct-single-line
diff options
context:
space:
mode:
authorLibravatar Taylor Blau <me@ttaylorr.com>2021-01-25 18:37:22 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-25 18:32:43 -0800
commit84d544943c27a1540826730b6a8f588200c65fe6 (patch)
tree759936b88f8cee9a50084a3795e6fbffadee0afd /t/t4018/cpp-struct-single-line
parentpack-write.c: prepare to write 'pack-*.rev' files (diff)
downloadtgif-84d544943c27a1540826730b6a8f588200c65fe6.tar.xz
builtin/index-pack.c: allow stripping arbitrary extensions
To derive the filename for a .idx file, 'git index-pack' uses derive_filename() to strip the '.pack' suffix and add the new suffix. Prepare for stripping off suffixes other than '.pack' by making the suffix to strip a parameter of derive_filename(). In order to make this consistent with the "suffix" parameter which does not begin with a ".", an additional check in derive_filename. Suggested-by: Jeff King <peff@peff.net> Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/cpp-struct-single-line')
0 files changed, 0 insertions, 0 deletions