Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add platform-independent .git "symlink"
[gitweb.git]
/
t
/
t4020-diff-external.sh
diff --git
a/t/t4020-diff-external.sh
b/t/t4020-diff-external.sh
index bf8f778a471b7fdb21b6e6df473222593439ba34..637b4e19d52e81cf1472a4ed9dcfb0c9ff00da2b 100755
(executable)
--- a/
t/t4020-diff-external.sh
+++ b/
t/t4020-diff-external.sh
@@
-103,7
+103,8
@@
echo NULZbetweenZwords | perl -pe 'y/Z/\000/' > file
test_expect_success 'force diff with "diff"' '
echo >.gitattributes "file diff" &&
- git diff | grep -a second
+ git diff >actual &&
+ test_cmp ../t4020/diff.NUL actual
'
test_done