Skip to content

Commit 0d1d6e5

Browse files
drafnelgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6e2a09d commit 0d1d6e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t7003-filter-branch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ test_expect_success 'more setup' '
143143
test_expect_success 'use index-filter to move into a subdirectory' '
144144
git branch directorymoved &&
145145
git filter-branch -f --index-filter \
146-
"git ls-files -s | sed \"s-\\t-&newsubdir/-\" |
146+
"git ls-files -s | sed \"s- -&newsubdir/-\" |
147147
GIT_INDEX_FILE=\$GIT_INDEX_FILE.new \
148148
git update-index --index-info &&
149149
mv \"\$GIT_INDEX_FILE.new\" \"\$GIT_INDEX_FILE\"" directorymoved &&

0 commit comments

Comments
 (0)