diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2023-02-06 23:44:33 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-02-06 15:30:42 -0800 |
| commit | 9fdc79ecba0f4a3ef885f1409d2db5a1dbabd649 (patch) | |
| tree | 20e4441cb3fecb298f8e6ee407b6c0641a41eb39 /compat/obstack.c | |
| parent | tests: don't lose exit status with "test <op> $(git ...)" (diff) | |
| download | git-9fdc79ecba0f4a3ef885f1409d2db5a1dbabd649.tar.gz git-9fdc79ecba0f4a3ef885f1409d2db5a1dbabd649.zip | |
tests: don't lose misc "git" exit codes
Fix a few miscellaneous cases where:
- We lost the "git" exit code via "git ... | grep"
- Likewise by having a $(git) argument to git itself
- Used "test -z" to check that a command emitted no output, we can use
"test_must_be_empty" and &&-chaining instead.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/obstack.c')
0 files changed, 0 insertions, 0 deletions
