For issue https://pagure.io/pagure/issue/477
This is the configuration of one of the repos: http://img.susepaste.org/17990242
Also, there were only two mode options which allowed the recieve.denyNonFastforwards = true option in pygit2. The above one and the GIT_REPOSITORY_INIT_SHARED_ALL.
recieve.denyNonFastforwards = true
GIT_REPOSITORY_INIT_SHARED_ALL
check this
Seems to be present in the pygit2 version we're using, so cool.
Thanks for fixing this!