git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] contrib: Add update-http-moderated hook

From
Jared Hance <jaredhance@gmail.com>
Date
Jul 21, 2010, 10:37 UTC
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.

Previous: public_vi@tut.by
Message 2 of 2 in “contrib: Add update-http-moderated hook”
  1. contrib: Add update-http-moderated hookpublic_vi@tut.by, Jul 21, 2010
  2. Jared HanceJul 21, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.