Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Add tests for git log --pretty, --format and --oneline.
[gitweb.git]
/
t
/
t3001-ls-files-others-exclude.sh
diff --git
a/t/t3001-ls-files-others-exclude.sh
b/t/t3001-ls-files-others-exclude.sh
index 8666946b025097d3e93c7853d39265429da81578..85aef12a113fed8164a085a19ce5c794ab96ff6f 100755
(executable)
--- a/
t/t3001-ls-files-others-exclude.sh
+++ b/
t/t3001-ls-files-others-exclude.sh
@@
-140,4
+140,10
@@
test_expect_success 'trailing slash in exclude forces directory match (2)' '
'
+test_expect_success 'negated exclude matches can override previous ones' '
+
+ git ls-files --others --exclude="a.*" --exclude="!a.1" >output &&
+ grep "^a.1" output
+'
+
test_done