public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox•com>
To: Eugene Sajine <euguess@gmail•com>
Cc: git@vger•kernel.org
Subject: Re: Fwd: git-daemon access-hook race condition
Date: Thu, 12 Sep 2013 12:15:36 -0700	[thread overview]
Message-ID: <xmqq4n9pq2av.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <CAPZPVFbJqbRGQZ+m3-EfahcYegPvVcS-jNTsCXxBqWUsLqyHkg@mail.gmail.com> (Eugene Sajine's message of "Thu, 12 Sep 2013 14:51:41 -0400")

Eugene Sajine <euguess@gmail•com> writes:

> Is it possible to have access-hook to be executed after receive?

The whole point of access-hook is to allow it to decide whether the
access is allowed or not, so that is a non-starter.

A notification _after_ successful push update is usually done via
the post-receive hook in the receiving repository, I think.

  reply	other threads:[~2013-09-12 19:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAPZPVFa=gqJ26iA6eQ1B6pcbTcQmmnXHYz6OQLtMORnAa5ec2w@mail.gmail.com>
2013-09-12 18:51 ` Fwd: git-daemon access-hook race condition Eugene Sajine
2013-09-12 19:15   ` Junio C Hamano [this message]
     [not found]     ` <CAPZPVFZLPV=JVR+SSqfX-=aLyFWZBkof+yCkivcLoKNnv6f__Q@mail.gmail.com>
2013-09-12 20:30       ` Fwd: " Eugene Sajine
2013-09-12 21:08         ` Junio C Hamano
2013-09-12 21:16           ` Eugene Sajine
2013-09-12 22:01             ` Eugene Sajine
2013-09-13 17:17               ` Eugene Sajine
2013-09-12 22:20           ` Junio C Hamano
2013-09-12 23:17             ` Eugene Sajine
2013-09-12 23:27               ` Junio C Hamano

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=xmqq4n9pq2av.fsf@gitster.dls.corp.google.com \
    --to=gitster@pobox$(echo .)com \
    --cc=euguess@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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