astro / deadnix

Scan Nix files for dead code
GNU General Public License v3.0
461 stars 15 forks source link

Don't recurse into .git #1

Closed siraben closed 2 years ago

siraben commented 2 years ago

I ran this on my checkout of Nixpkgs and got the line

Error parsing file ./.git/logs/refs/remotes/upstream/revert-116335-move-aliases.nix: unexpected end of file
astro commented 2 years ago

May I generalize the option into "do(n't) descend into hidden dirs/files"?

siraben commented 2 years ago

Sounds good to me

astro commented 2 years ago

Fixed in 1a06f0c