asottile/dead

Run pre-commit-hook only on files to be committed

mbotler opened this issue · 1 comments

Is there a way to run the dead pre-commit-hook only on files to be committed? Otherwise it runs on all files (e.g. not staged for commit)

nope, dead always needs to analyze the whole repo