]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5411/test-0041-process-all-refs--porcelain.sh
Merge branch 'gc/branch-recurse-submodules-fix'
[thirdparty/git.git] / t / t5411 / test-0041-process-all-refs--porcelain.sh
index c88405792ef57c0ef79880ad7d1909496f471ae8..02e1e084d6c9c5c8f8e43e1104a54ff08dd20abc 100644 (file)
@@ -17,7 +17,7 @@ test_expect_success "setup upstream branches ($PROTOCOL/porcelain)" '
 '
 
 test_expect_success "setup proc-receive hook ($PROTOCOL/porcelain)" '
-       write_script "$upstream/hooks/proc-receive" <<-EOF
+       test_hook -C "$upstream" --clobber proc-receive <<-EOF
        printf >&2 "# proc-receive hook\n"
        test-tool proc-receive -v \
                -r "ok refs/heads/main" \