From 05e9d907dd221953c35a2d19420d1f13c63f391e Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 4 Nov 2013 10:11:15 -0800 Subject: [PATCH] t4015: simplify sed command that is not even seen by sed Noticed by Andreas Schwab; \ 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 --- t/t4015-diff-whitespace.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/t/t4015-diff-whitespace.sh b/t/t4015-diff-whitespace.sh index 0126154e08..604a838c1a 100755 --- 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 && -- 2.11.4.GIT