Re: Fwd: git-daemon access-hook race condition
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 12, 2013, 19:15 UTC
- Message-ID
- <xmqq4n9pq2av.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAPZPVFbJqbRGQZ+m3-EfahcYegPvVcS-jNTsCXxBqWUsLqyHkg@mail.gmail.com>
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.