Merge branch 'cb/t3404-shellquote'
authorJunio C Hamano <gitster@pobox.com>
Fri, 11 Dec 2015 18:40:57 +0000 (10:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Dec 2015 18:40:58 +0000 (10:40 -0800)
* cb/t3404-shellquote:
t3404: fix quoting of redirect for some versions of bash

t/t3404-rebase-interactive.sh
index 98eb49ac236e9e9d08d5da5167f7e257db173c41..9067e0206f12d472d6940842635759b4447010f1 100755 (executable)
@@ -1234,7 +1234,7 @@ test_expect_success 'tabs and spaces are accepted in the todolist' '
                # Turn single spaces into space/tab mix
                sed "1s/ /      /g; 2s/ /  /g; 3s/ /    /g" "$1"
                printf "\n\t# comment\n #more\n\t # comment\n"
-       ) >$1.new
+       ) >"$1.new"
        mv "$1.new" "$1"
        EOF
        test_set_editor "$(pwd)/add-indent.sh" &&