{"thread":{"id":"50437","subject":"[Fix v1] t5403: correct bash ambiguous redirect error in subtest 8 by quoting $GIT_DIR","startedAt":"2019-02-08T11:32:48Z","lastAt":"2019-02-08T19:55:42Z","messageCount":2,"participants":["randall.s.becker@rogers.com","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"368828","messageId":"20190208113233.14544-1-randall.s.becker@rogers.com","threadId":"50437","inReplyTo":null,"subject":"[Fix v1] t5403: correct bash ambiguous redirect error in subtest 8 by quoting $GIT_DIR","fromName":"","fromEmail":"randall.s.becker@rogers.com","sentAt":"2019-02-08T11:32:33Z","receivedAt":"2019-02-08T11:32:48Z","isPatch":false,"sender":{"key":"randall.s.becker@rogers.com","avatar":null},"body":"From: \"Randall S. Becker\" <rsbecker@nexbridge.com>\n\nThe embedded blanks in the full path of the test git repository cased bash\nto generate an ambugious redirect error.\n\nSigned-off-by: Randall S. Becker <rsbecker@nexbridge.com>\n---\n t/t5403-post-checkout-hook.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/t/t5403-post-checkout-hook.sh b/t/t5403-post-checkout-hook.sh\nindex a539ffc08..a39b3b5c7 100755\n--- a/t/t5403-post-checkout-hook.sh\n+++ b/t/t5403-post-checkout-hook.sh\n@@ -67,7 +67,7 @@ test_expect_success 'post-checkout is triggered on rebase with fast-forward' '\n test_expect_success 'post-checkout hook is triggered by clone' '\n \tmkdir -p templates/hooks &&\n \twrite_script templates/hooks/post-checkout <<-\\EOF &&\n-\techo \"$@\" >$GIT_DIR/post-checkout.args\n+\techo \"$@\" >\"$GIT_DIR/post-checkout.args\"\n \tEOF\n \tgit clone --template=templates . clone3 &&\n \ttest -f clone3/.git/post-checkout.args\n-- \n2.12.3\n\n"},{"id":"368872","messageId":"xmqqh8dejbra.fsf@gitster-ct.c.googlers.com","threadId":"50437","inReplyTo":"20190208113233.14544-1-randall.s.becker@rogers.com","subject":"Re: [Fix v1] t5403: correct bash ambiguous redirect error in subtest 8 by quoting $GIT_DIR","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2019-02-08T19:55:37Z","receivedAt":"2019-02-08T19:55:42Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"randall.s.becker@rogers.com writes:\n\n> From: \"Randall S. Becker\" <rsbecker@nexbridge.com>\n>\n> The embedded blanks in the full path of the test git repository cased bash\n> to generate an ambugious redirect error.\n>\n> Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com>\n> ---\n\nThanks.\n\n>  t/t5403-post-checkout-hook.sh | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n>\n> diff --git a/t/t5403-post-checkout-hook.sh b/t/t5403-post-checkout-hook.sh\n> index a539ffc08..a39b3b5c7 100755\n> --- a/t/t5403-post-checkout-hook.sh\n> +++ b/t/t5403-post-checkout-hook.sh\n> @@ -67,7 +67,7 @@ test_expect_success 'post-checkout is triggered on rebase with fast-forward' '\n>  test_expect_success 'post-checkout hook is triggered by clone' '\n>  \tmkdir -p templates/hooks &&\n>  \twrite_script templates/hooks/post-checkout <<-\\EOF &&\n> -\techo \"$@\" >$GIT_DIR/post-checkout.args\n> +\techo \"$@\" >\"$GIT_DIR/post-checkout.args\"\n>  \tEOF\n>  \tgit clone --template=templates . clone3 &&\n>  \ttest -f clone3/.git/post-checkout.args\n"}]}