Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-commit: partial commit of paths only removed from the index
[gitweb.git]
/
t
/
t4116-apply-reverse.sh
diff --git
a/t/t4116-apply-reverse.sh
b/t/t4116-apply-reverse.sh
index a7f5905f1e651fea6690bfbdb5857c68fc4fda27..9ae2b3a8efaad4430bbcea02152470b064263b2b 100755
(executable)
--- a/
t/t4116-apply-reverse.sh
+++ b/
t/t4116-apply-reverse.sh
@@
-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