]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t3001-ls-files-others-exclude.sh
t9143: do not fail if Compress::Zlib is missing
[git.git] / t / t3001-ls-files-others-exclude.sh
index 6a1711374579082000e95e39e4f6c0d572d11cd4..c65bca838881938e2f924cfe62b2c303dbd5b1cd 100755 (executable)
@@ -147,4 +147,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