vim-tags icon indicating copy to clipboard operation
vim-tags copied to clipboard

Does not used nested .gitignore files

Open maurizi opened this issue 11 years ago • 2 comments

With a .gitignore file located in bin/ containing:

*
!gitignore

I would expect files or directories in bin/ to be ignored when running TagsGenerate!. They were not ignored unless I put

bin/*

in a top-level .gitignore file

maurizi avatar Aug 18 '14 19:08 maurizi

Yes, only top level .gitignores are used. Do you think it is common enough to support it?

szw avatar Aug 27 '14 08:08 szw

Its a pretty common pattern to add a gitignore file to a directory when you want to check in a directory but not it's contents...

maurizi avatar Aug 27 '14 16:08 maurizi