Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t4015: simplify sed command that is not even seen by sed
author
Junio C Hamano
<gitster@pobox.com>
Mon, 4 Nov 2013 18:11:15 +0000
(10:11 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 4 Nov 2013 18:11:15 +0000
(10:11 -0800)
Noticed by Andreas Schwab; \<LF> inside a double quotes pair is
eaten by the shell to become an empty string and is not doing
anything.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4015-diff-whitespace.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
53039ab
)
diff --git
a/t/t4015-diff-whitespace.sh
b/t/t4015-diff-whitespace.sh
index 0126154e081ea356c696ea7cc38d44ed1239ac73..604a838c1ab4d173f9910158935d74398fabf788 100755
(executable)
--- a/
t/t4015-diff-whitespace.sh
+++ b/
t/t4015-diff-whitespace.sh
@@
-146,7
+146,6
@@
test_expect_success 'ignore-blank-lines: only new lines' '
test_seq 5 >x &&
git update-index x &&
test_seq 5 | sed "/3/i\\
-\
" >x &&
git diff --ignore-blank-lines >out &&
>expect &&