Skip checking when staged files are empty by TakiTake · Pull Request #211 · jish/pre-commit

I think it's better that skip checking when "staged_files" is empty array. # If staged_files is empty, following git command execute # So every staged files are checked even if they are written in ...