summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2019-11-26 20:41:57 +0100
committerJunio C Hamano <gitster@pobox.com>2019-11-27 11:32:02 +0900
commitc93a5aaec859f93ff24277269e2fdef00c9c45e6 (patch)
tree3df56a396b475b745e7c87bee8984624052b5d12 /commit.h
parent6e4826ea75f7bfeeb48c2fd976054d8bc3e73c9c (diff)
t1400: use test_must_be_empty
Use test_must_be_empty instead of reading the file and comparing its contents to an empty string. 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. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions