diff options
| author | Denton Liu <liu.denton@gmail.com> | 2019-12-20 10:15:51 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-12-20 11:30:44 -0800 |
| commit | 99c049bc4c029471af5efcbd1a4ca1fd4a45b923 (patch) | |
| tree | ad34af860f0d7d2c7acfec2bbbf24f25096c24c4 /builtin/commit.c | |
| parent | t0003: use named parameters in attr_check() (diff) | |
| download | git-99c049bc4c029471af5efcbd1a4ca1fd4a45b923.tar.gz git-99c049bc4c029471af5efcbd1a4ca1fd4a45b923.zip | |
t0003: use test_must_be_empty()
In several places, we used `test_line_count = 0` to check for an empty
file. Although this is correct, it's overkill. Use test_must_be_empty()
instead because it's more suited for this purpose.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
