Is it possible that it only scans the files staged for commit, as it is common for other hooks?
Is it possible that it only scans the files staged for commit, as it is common for other hooks?