Re: Enhancements to git-protocoll

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

On Mon, Jul 30, 2012 at 6:58 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Sitaram Chamarty <sitaramc@xxxxxxxxx> writes:
>> As I may have said earlier, this interaction is far too site-specific
>> to be rolled into git itself.
>> How about a new hook instead?  A pre-pack-protocol hook that acts as
>> if it was called by the remote user as a command, and if it exit's
>> with 0, then the real pack protocol starts else it gets aborted.  Let
>> him do whatever he wants in there.  Arguments to the hook will be repo
>> name and command (git-upload-pack mainly).
> Not very interested.  If it is _known_ to happen before Git protocol
> proper happens, why not give the user something like the gitolite
> command "D", that is interpreted by gitolite-shell without bothering
> Git at all?

Indeed.  In one of the earlier messages I already told him he should
copy and munge the fork command in gitolite to do precisely this.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Newbies FAQ]     [Linux Kernel Development]     [Free Online Dating]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Free Online Dating]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]     [Linux Resources]

Add to Google