Skip to content

Commit

Permalink
t4015: simplify sed command that is not even seen by sed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Nov 4, 2013
1 parent 53039ab commit 05e9d90
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion t/t4015-diff-whitespace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 05e9d90

Please sign in to comment.