浏览代码

Merge pull request #2904 from wldevries/VisualStudio_CacheDirs

Only unignore directories that have at least a character ending with .cache
Brendan Forster 6 年之前
父节点
当前提交
6cbcdee97b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      VisualStudio.gitignore

+ 1 - 1
VisualStudio.gitignore

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