summaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-08-15 10:24:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-08-15 18:13:58 (GMT)
commitcc1735c4a3cf3377289640ce1af6b4c4523bee11 (patch)
treef773d97051909bd5db53186572e513b248956801 /tree.c
parenta388b10fc17c435df32c3875225a1468edad9535 (diff)
downloadgit-cc1735c4a3cf3377289640ce1af6b4c4523bee11.zip
git-cc1735c4a3cf3377289640ce1af6b4c4523bee11.tar.gz
git-cc1735c4a3cf3377289640ce1af6b4c4523bee11.tar.bz2
t4205: refactor %(trailers) tests
We currently have one test for %(trailers). In preparation for more, let's refactor a few bits: - move the commit creation to its own setup step so it can be reused by multiple tests - add a trailer with whitespace continuation (to confirm that it is left untouched) - fix the sample text which claims the placeholder is %bT. This was switched long ago to %(trailers) - replace one "cat" with an "echo" when generating the expected output. This saves a process (and sets a better pattern for future tests to follow). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree.c')
0 files changed, 0 insertions, 0 deletions