I enabled the Verify Committer hook in my repository.
If I spoof the author of a commit with the --author "Bogus Author <should.not.be@allowed.upload>" flag for `git commit`, I would expect my commit to be rejected when I try push it.
This does not happen.
According to this question , the hook doesn't check against the author in the git commit.
So, if it doesn't do that, what *does* it do?
The answer to my question is that the Verify Commiter hook verifies the committer of a commit, not the author.
the --author flag in `git commit` only changes the author. It does not change the committer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.