git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jared Hance <jaredhance@gmail.com>
To: git@vger.kernel.org
Subject: Re: [PATCH] contrib: Add update-http-moderated hook
Date: Wed, 21 Jul 2010 06:37:10 -0400	[thread overview]
Message-ID: <20100721103710.GA2122@localhost.localdomain> (raw)
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.

      reply	other threads:[~2010-07-21 10:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21  1:23 [PATCH] contrib: Add update-http-moderated hook public_vi
2010-07-21 10:37 ` Jared Hance [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100721103710.GA2122@localhost.localdomain \
    --to=jaredhance@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).