I want to have a hook that will check for linting issues. The problem is that I don't want to check all the files in the project, I want to check only the files that have actually changed.
Lets say I have 3 commits locally that I havent pushed to remote. How can I list (or even better, pipe them to another process)?