Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-commit --allow-empty
[gitweb.git]
/
t
/
t0020-crlf.sh
diff --git
a/t/t0020-crlf.sh
b/t/t0020-crlf.sh
index 0807d9f01a178567e433c9c057064d026109ade2..62bc4bb077d06920509228b9fcd6464472e96dc2 100755
(executable)
--- a/
t/t0020-crlf.sh
+++ b/
t/t0020-crlf.sh
@@
-371,4
+371,11
@@
test_expect_success 'in-tree .gitattributes (4)' '
}
'
+test_expect_success 'invalid .gitattributes (must not crash)' '
+
+ echo "three +crlf" >>.gitattributes &&
+ git diff
+
+'
+
test_done