From: Jared Hance Date: Wed, 21 Jul 2010 10:37:10 GMT Subject: Re: [PATCH] contrib: Add update-http-moderated hook Message-ID: <20100721103710.GA2122@localhost.localdomain> In-Reply-To: <1279675387-15280-1-git-send-email-public_vi@tut.by> On Wed, Jul 21, 2010 at 04:23:07AM +0300, public_vi@tut.by wrote: > +# Require User mod > +if [ "$REMOTE_USER" == "mod" ]; then exit 0; fi Perhaps, for easier configurability, you should at the very least have a variable at the top such as GIT_MOD_USER=mod in case the users of this script want to change it at some point.