On 04/10/2022 15:02, Adam Dinwoodie wrote:
[...]
I've adjusted the gitolite configuration so this should work again.
Would it be possible to add some output to the hooks to provide a useful
explanation for what's going on? I think anything a hook prints to
stdout or stderr will be seen by the user in the `git push` output, and
something a bit more informative than "DENIED" would be nice!
This is not totally straightforward, as this hook is part of, and
managed by, gitolite.
It's not a big issue either way, but having a more informative output in
this case might have saved me a bit of time trying to ensure the problem
was genuinely on the server and not just that I was doing something
daft.
Do you have a suggestion as to what else the hook should say?