]> source.dussan.org Git - gitignore.git/commitdiff
Only unignore directories that have at least a character ending with .cache 2904/head
authorWouter de Vries <wouterdevries@silverfit.nl>
Thu, 6 Dec 2018 09:17:16 +0000 (10:17 +0100)
committerWouter de Vries <wouterdevries@silverfit.nl>
Thu, 6 Dec 2018 09:17:16 +0000 (10:17 +0100)
VisualStudio.gitignore

index 4ba92b04afb94fe78a03c89b9c50ab25e3cd5343..d1fc54de7a0aafe2984ab654cae8c3b5651a1e75 100644 (file)
@@ -211,7 +211,7 @@ _pkginfo.txt
 # files ending in .cache can be ignored
 *.[Cc]ache
 # but keep track of directories ending in .cache
-!*.[Cc]ache/
+!?*.[Cc]ache/
 
 # Others
 ClientBin/