Re: git-http-backend with hooks

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

 



On Sat, May 26, 2012 at 7:41 PM, Tajti Ákos <akos.tajti@xxxxxxxxxxx> wrote:
> dear list,
>
> we wrote a script that is basically a proxy before git-http-backend. All git
> requests go through this and if some criteria is true then they're passed to
> git-http-backend. We also have hooks in our repositories. The problem is
> that in some cases we don't want the hooks to run. Is it possible to somehow
> tell git-http-backend that the hooks shouldn't be run?

set an env var in your proxy (before it passes to git-http-backend)
then test for that in the hook code and exit
--
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]