Smattr / mattutils

Repository for all my random tools and scripts I use
11 stars 1 forks source link

teach loc some cleverness #44

Open Smattr opened 3 years ago

Smattr commented 3 years ago

When running loc in a Git checkout, it does some fairly stupid things like recurse into .git/ and try to line-count all the pack files in there. Because none of these have extensions, they not only have a useless count but are also each allocated to their own category.

It should be straightforward to add a basic ignore list of paths to skip.