diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-03-07 13:49:04 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-07 13:27:41 -0800 |
commit | e19b3199506a47098d1ca7b21a5e37cabb70f7f2 (patch) | |
tree | ab9e854f0768a6c24bb4272f5fde8d01061ca729 /templates/hooks--pre-push.sample | |
parent | gettext tests: don't ignore "test-tool regex" exit code (diff) | |
download | tgif-e19b3199506a47098d1ca7b21a5e37cabb70f7f2.tar.xz |
apply tests: don't ignore "git ls-files" exit code, drop sub-shell
Fix code added in 969c877506c (git apply --directory broken for new
files, 2008-10-12) so that it doesn't invoke "git ls-files" on the
left-hand-side of a pipe, instead let's use an intermediate file.
Since we're doing that we can also drop the sub-shell that was here to
group the two.
There are a lot of these sorts of patterns in the test suite, and
there's no particular reason to fix this one other than in a preceding
commit all similar patterns except this one were fixed in
"t/t4128-apply-root.sh", so let's fix this one straggler as well.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--pre-push.sample')
0 files changed, 0 insertions, 0 deletions