diff options
author | René Scharfe <l.s.r@web.de> | 2019-11-27 08:51:43 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-27 19:05:27 +0900 |
commit | ed254710eee0a5fcde1057593d181d40b02922e1 (patch) | |
tree | 23299046b8f2dba950f869e839d39c4ab4de72bb /Documentation/RelNotes | |
parent | test: use test_must_be_empty F instead of test -z $(cat F) (diff) | |
download | tgif-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