On Jun 09, 2010 at 12:33, Juha Heinanen jh@tutpro.com wrote:
i tried to push a commit, but push failed like this:
$ eg push jh@git.sip-router.org's password: Counting objects: 9, done. Delta compression using up to 2 threads. Compressing objects: 100% (5/5), done. Writing objects: 100% (5/5), 1.19 KiB, done. Total 5 (delta 4), reused 0 (delta 0) error: hooks/update exited with error code 1 error: hook declined to update refs/heads/master To ssh://jh@git.sip-router.org/sip-router ! [remote rejected] master -> master (hook declined) error: failed to push some refs to 'ssh://jh@git.sip-router.org/sip-router'
Somehow the file with per-branch permissions disappeared and by default the policy is deny except for user branches ( e.g.. andrei/...).
I've restored it and it should work now.
Strange thing is that the last modification time on the directory holding this file was 2010-06-09 02:15 (cronjob?). We will need to investigate further (to see if it was deleted by mistake, cronjob ran amok or some fs error).
Andrei