summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2019-11-27 08:51:43 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-11-27 19:05:27 +0900
commited254710eee0a5fcde1057593d181d40b02922e1 (patch)
tree23299046b8f2dba950f869e839d39c4ab4de72bb /Documentation/RelNotes
parenttest: use test_must_be_empty F instead of test -z $(cat F) (diff)
downloadtgif-ed254710eee0a5fcde1057593d181d40b02922e1.tar.xz
test: use test_must_be_empty F instead of test_cmp empty F
Use test_must_be_empty instead of comparing it to an empty file. That's more efficient, as the function only needs built-in meta-data only check in the usual case, and provides nicer debug output otherwise. Helped-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes')
0 files changed, 0 insertions, 0 deletions