scc: Gitignore folders are not supported
Describe the bug If you have something like this in the gitignore:
folder1/folder2/
scc still counts the files under folder1/folder2.
To Reproduce
- Add some files under
folder1/folder2, and runscs
Expected behavior It should support folders
Desktop (please complete the following information):
- OS: [e.g. macOS, Windows, Linux] Windows 10
- Version [e.g. 22] 3.0.0
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 18 (10 by maintainers)
No progress yet sorry. Been too busy on work projects and have not had time outside of work to actually put time on this. It is on my list of things to do.
If you want to ignore folders, you can however put .ignore files where the folder is with the folder you want to ignore in it. If you don’t use globbing rules this should work as is.
Have not forgotten this, but got distracted looking into alternative file walk Go implementations. I might try applying this on one of my other projects first though, probably https://github.com/boyter/dcd since it should be easier to implement there.