git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git-http-backend with hooks
@ 2012-05-26 14:11 Tajti Ákos
  2012-05-26 16:29 ` Sitaram Chamarty
  0 siblings, 1 reply; 2+ messages in thread
From: Tajti Ákos @ 2012-05-26 14:11 UTC (permalink / raw
  To: git@vger.kernel.org

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?

thanks in advance,
ákos tajti

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git-http-backend with hooks
  2012-05-26 14:11 git-http-backend with hooks Tajti Ákos
@ 2012-05-26 16:29 ` Sitaram Chamarty
  0 siblings, 0 replies; 2+ messages in thread
From: Sitaram Chamarty @ 2012-05-26 16:29 UTC (permalink / raw
  To: Tajti Ákos; +Cc: git@vger.kernel.org

On Sat, May 26, 2012 at 7:41 PM, Tajti Ákos <akos.tajti@intland.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-26 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-26 14:11 git-http-backend with hooks Tajti Ákos
2012-05-26 16:29 ` Sitaram Chamarty

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).