summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6e2a09d)
raw | patch | inline | side by side (parent: 6e2a09d)
author | Brandon Casey <drafnel@gmail.com> | |
Thu, 12 Aug 2010 20:55:54 +0000 (15:55 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 12 Aug 2010 22:35:04 +0000 (15:35 -0700) |
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>
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>
t/t7003-filter-branch.sh | patch | blob | history |
index fd7e3a113c9e3fcedc1c18c0b1a87a2c0ffef15b..2c55801ee8b88b2d97968a24706dcfdab824668b 100755 (executable)
--- a/t/t7003-filter-branch.sh
+++ b/t/t7003-filter-branch.sh
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 &&