summaryrefslogtreecommitdiff
path: root/mem-pool.h
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-01-23 13:00:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-01-23 21:25:12 (GMT)
commit60127996b506f14a98c1e7ac3cf14d6dc23d6b81 (patch)
tree7993dc589e4844e8c8232519da62964a0d7b7179 /mem-pool.h
parent9aebc4708ad21cc18f6d5c6909381abb0fe01023 (diff)
downloadgit-60127996b506f14a98c1e7ac3cf14d6dc23d6b81.zip
git-60127996b506f14a98c1e7ac3cf14d6dc23d6b81.tar.gz
git-60127996b506f14a98c1e7ac3cf14d6dc23d6b81.tar.bz2
archive tests: use a cheaper "zipinfo -h" invocation to get header
Change an invocation of zipinfo added in 19ee29401d (t5004: test ZIP archives with many entries, 2015-08-22) to simply ask zipinfo for the header info, rather than spewing out info about the entire archive and race to kill it with SIGPIPE due to the downstream "head -2". I ran across this because I'm adding a "set -o pipefail" test mode. This won't be needed for the version of the mode that I'm introducing (which currently relies on a patch to GNU bash), but I think this is a good idea anyway. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mem-pool.h')
0 files changed, 0 insertions, 0 deletions