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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 21, 2010 at 04:23:07AM +0300, public_vi@xxxxxx 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]