I have a commit-msg hook that I run for all of my local commits and, for a certain project, I require to have been run. Problem is, when I pull in from other forks some of my compatriots have not run this commit-msg hook. To date I've been doing
$ git rebase --interactive $commit_parent
as outlined very similarly here. Pick the commits that haven't been done properly, re-edit and so on. All very workable, but also tedious as I'm doing it by hand.
How can I automate this? The hook requires no oversight.