#4071: Block pushes to origin/ in gitolite ACLs
-----------------------+-----------------------
Reporter: jkeating | Owner: rel-eng@…
Type: task | Status: new
Milestone: | Component: git
Resolution: | Keywords:
Blocked By: | Blocking:
-----------------------+-----------------------
Comment (by till):
This update-hook should allow this:
{{{
#! /bin/sh
refname="${1}"
sha1_old="${2}"
sha1_new="${3}"
echo "${refname}" | grep -q '^origin/' && exit 1 || exit 0
}}}
--
Ticket URL: <
https://fedorahosted.org/rel-eng/ticket/4071#comment:1>
Fedora Release Engineering <
http://fedorahosted.org/rel-eng>
Release Engineering for the Fedora Project