projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f3f55
)
t0022: replace non-portable literal CR
author
Stephen Boyd
<bebarino@gmail.com>
Tue, 26 Jan 2010 00:33:58 +0000
(16:33 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 26 Jan 2010 00:43:28 +0000
(16:43 -0800)
We shouldn't have literal CR's in tests as they aren't portable.
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0022-crlf-rename.sh
patch
|
blob
|
history
diff --git
a/t/t0022-crlf-rename.sh
b/t/t0022-crlf-rename.sh
index f1e1d48869a25c6ab1d0b570eb4c0e28afc5fa05..7af3fbcc7b9e5e61e41205accaa6d81e85cae6cf 100755
(executable)
--- a/
t/t0022-crlf-rename.sh
+++ b/
t/t0022-crlf-rename.sh
@@
-12,7
+12,7
@@
test_expect_success setup '
test_tick &&
git commit -m Initial &&
-
sed -e "s/\$/
\r
/"
"$TEST_DIRECTORY"/t0022-crlf-rename.sh >elpmas &&
+
append_cr <
"$TEST_DIRECTORY"/t0022-crlf-rename.sh >elpmas &&
git add elpmas &&
rm -f sample &&