I'd like to have a hook run after doing git pull --rebase
in order to check if a certain file was changed. Something along the lines of this hook.
I initially thought of using the post-rewrite
hook, however that only works when commits are being rewritten, and won't run when the pull
operation simply fast-forwards the branch, which is very often.
Any ideas will be appreciated.