t0026: Add missing &&
PATCH v2 3/3 t0026: Add missing &&
Fix the broken && chain
Reported-By Eric Sunshine <[email protected]>
Signed-off-by Torsten Bögershausen <[email protected]>
--- t/t0026-eol-config.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
t/t0026-eol-config.sh +3 -3
@@ -84,9 +84,9 @@ test_expect_success NATIVE_CRLF 'eol native is crlf' ' rm -rf native_eol && mkdir native_eol && ( cd native_eol && - printf "*.txt text\n" > .gitattributes - printf "one\r\ntwo\r\nthree\r\n" > filedos.txt - printf "one\ntwo\nthree\n" > fileunix.txt + printf "*.txt text\n" > .gitattributes && + printf "one\r\ntwo\r\nthree\r\n" > filedos.txt && + printf "one\ntwo\nthree\n" > fileunix.txt && git init && git config core.autocrlf false && git config core.eol native &&
Signature · 1 line
2.1.0.rc2.210.g636bceb
Quoted 5 lines · Torsten Bögershausen
Fix the broken && chain
Reported-By Eric Sunshine <[email protected]>Signed-off-by Torsten Bögershausen <[email protected]>---
Please fold this kind of "oops fix breakages discovered in the version that hasn't been reached 'next'" to the patch that introduces the breakage, with "Helped-by: whom".
Thanks.
Quoted 20 lines
t/t0026-eol-config.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)t/t0026-eol-config.sh +3
-3@@ -84,9 +84,9 @@ test_expect_success NATIVE_CRLF 'eol native is crlf' ' rm -rf native_eol && mkdir native_eol && ( cd native_eol && - printf "*.txt text\n" > .gitattributes - printf "one\r\ntwo\r\nthree\r\n" > filedos.txt - printf "one\ntwo\nthree\n" > fileunix.txt + printf "*.txt text\n" > .gitattributes && + printf "one\r\ntwo\r\nthree\r\n" > filedos.txt && + printf "one\ntwo\nthree\n" > fileunix.txt && git init && git config core.autocrlf false && git config core.eol native &&