cgag / loc

Count lines of code quickly.
MIT License
2.31k stars 126 forks source link

Add suggested usage to Git ignore #44

Closed jez closed 7 years ago

jez commented 7 years ago

I was temporarily disheartened to see that loc didn't have a means of ignoring Git-ignored files. Then I remembered we can solve this with a oneliner, so I thought I'd share it.

cgag commented 7 years ago

I'll merge this for now but it shoul dbe very easy to fix this once i switch from walkdir to the ignore crate that came out of ripgrep.