summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2010-08-12 20:55:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-08-12 22:35:04 (GMT)
commit0d1d6e50cf3401874b50b77aa1dc0e33357a1556 (patch)
treed173569ca1dc8d1b3e73c496d95dcbde6058ac06
parent6e2a09d24b2634cdfec3395122cd4a07eb517b0d (diff)
downloadgit-0d1d6e50cf3401874b50b77aa1dc0e33357a1556.zip
git-0d1d6e50cf3401874b50b77aa1dc0e33357a1556.tar.gz
git-0d1d6e50cf3401874b50b77aa1dc0e33357a1556.tar.bz2
t/t7003: replace \t with literal tab in sed expression
The sed utilities on IRIX and Solaris do not interpret the sequence '\t' to mean a tab character; they read a literal character 't'. So, use a literal tab instead. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t7003-filter-branch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7003-filter-branch.sh b/t/t7003-filter-branch.sh
index fd7e3a1..2c55801 100755
--- a/t/t7003-filter-branch.sh
+++ b/t/t7003-filter-branch.sh
@@ -143,7 +143,7 @@ test_expect_success 'more setup' '
test_expect_success 'use index-filter to move into a subdirectory' '
git branch directorymoved &&
git filter-branch -f --index-filter \
- "git ls-files -s | sed \"s-\\t-&newsubdir/-\" |
+ "git ls-files -s | sed \"s- -&newsubdir/-\" |
GIT_INDEX_FILE=\$GIT_INDEX_FILE.new \
git update-index --index-info &&
mv \"\$GIT_INDEX_FILE.new\" \"\$GIT_INDEX_FILE\"" directorymoved &&