{"thread":{"id":"24721","subject":"[PATCH] t/t7003: replace \\t with literal tab in sed expression","startedAt":"2010-08-12T20:55:54Z","lastAt":"2010-08-12T20:55:54Z","messageCount":1,"participants":["Brandon Casey"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"147945","messageId":"vyRoPz25kSrQp37AweDD-cKcfXzNba2fTsjI2-L88U0Eop2pk838tUNy-_QDHaP7IDSTIQsoox8@cipher.nrlssc.navy.mil","threadId":"24721","inReplyTo":null,"subject":"[PATCH] t/t7003: replace \\t with literal tab in sed expression","fromName":"Brandon Casey","fromEmail":"casey@nrlssc.navy.mil","sentAt":"2010-08-12T20:55:54Z","receivedAt":"2010-08-12T20:55:54Z","isPatch":true,"sender":{"key":"drafnel@gmail.com","avatar":"https://avatars.githubusercontent.com/u/921167?v=4"},"body":"From: Brandon Casey <drafnel@gmail.com>\n\nThe sed utilities on IRIX and Solaris do not interpret the sequence '\\t'\nto mean a tab character;  they read a literal character 't'.  So, use a\nliteral tab instead.\n\nSigned-off-by: Brandon Casey <casey@nrlssc.navy.mil>\n---\n t/t7003-filter-branch.sh |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/t/t7003-filter-branch.sh b/t/t7003-filter-branch.sh\nindex fd7e3a1..2c55801 100755\n--- a/t/t7003-filter-branch.sh\n+++ b/t/t7003-filter-branch.sh\n@@ -143,7 +143,7 @@ test_expect_success 'more setup' '\n test_expect_success 'use index-filter to move into a subdirectory' '\n \tgit branch directorymoved &&\n \tgit filter-branch -f --index-filter \\\n-\t\t \"git ls-files -s | sed \\\"s-\\\\t-&newsubdir/-\\\" |\n+\t\t \"git ls-files -s | sed \\\"s-\t-&newsubdir/-\\\" |\n \t          GIT_INDEX_FILE=\\$GIT_INDEX_FILE.new \\\n \t\t\tgit update-index --index-info &&\n \t\t  mv \\\"\\$GIT_INDEX_FILE.new\\\" \\\"\\$GIT_INDEX_FILE\\\"\" directorymoved &&\n-- \n1.7.2.1\n"}]}