We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3fd181 + a250d41 commit d379d46Copy full SHA for d379d46
t/t5403-post-checkout-hook.sh
@@ -67,7 +67,7 @@ test_expect_success 'post-checkout is triggered on rebase with fast-forward' '
67
test_expect_success 'post-checkout hook is triggered by clone' '
68
mkdir -p templates/hooks &&
69
write_script templates/hooks/post-checkout <<-\EOF &&
70
- echo "$@" >$GIT_DIR/post-checkout.args
+ echo "$@" >"$GIT_DIR/post-checkout.args"
71
EOF
72
git clone --template=templates . clone3 &&
73
test -f clone3/.git/post-checkout.args
0 commit comments