]> git.ipfire.org Git - thirdparty/git.git/commit
t0020: use ! check_packed_refs_marked
authorDenton Liu <liu.denton@gmail.com>
Fri, 20 Dec 2019 18:15:54 +0000 (10:15 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Dec 2019 19:30:44 +0000 (11:30 -0800)
commitf511bc02edc8e2729e7babb1b4caa98684d941bc
tree5f3be573b3fbfa421490a25fa9c107f5698877cf
parentf6041abdcd7bfefed1cbe14cbe221f0e848cbec4
t0020: use ! check_packed_refs_marked

The test_must_fail function should only be used for git commands since
we should assume that external commands work sanely. Since
check_packed_refs_marked() just wraps a grep invocation, replace
`test_must_fail check_packed_refs_marked` with
`! check_packed_refs_marked`.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1409-avoid-packing-refs.sh