X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4116-apply-reverse.sh;h=9ae2b3a8efaad4430bbcea02152470b064263b2b;hb=784c099a30368af4238e2713e6220688119239a1;hp=2685b2263017df96159542853b373ea261880ba4;hpb=2603fa5fb358ee7834bc9e1a2e391f69d8fce815;p=git.git diff --git a/t/t4116-apply-reverse.sh b/t/t4116-apply-reverse.sh index 2685b2263..9ae2b3a8e 100755 --- a/t/t4116-apply-reverse.sh +++ b/t/t4116-apply-reverse.sh @@ -3,7 +3,7 @@ # Copyright (c) 2005 Junio C Hamano # -test_description='git-apply in reverse +test_description='git apply in reverse ' @@ -82,4 +82,10 @@ test_expect_success 'apply in reverse without postimage' ' ) ' +test_expect_success 'reversing a whitespace introduction' ' + sed "s/a/a /" < file1 > file1.new && + mv file1.new file1 && + git diff | git apply --reverse --whitespace=error +' + test_done