Re: Some issues when trying to set up a shallow git mirror server

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

 



Richard Maw <richard.maw@xxxxxxxxxxxxxxx> writes:

> 1.  Before any "want" requests.
>
>     This would also let you extend ls-remote to let it display ancestry.
>
>     This is complicated by the fact that normally the client responds
>     with which features it supports in the first "want",
>     so the sender would have to support "check-ff N O <FEATURES>"
>     if it advertised "ancestry-check".

Yes, that sounds like a good thing.  Actually, ls-remote is a
degenerated case of fetch that sends 0 "want" requests, so the above
may be identical to what I suggested in the message you are
responding to.

> 2.  After the pack is transferred.

I do not think the protocol is structured to allow you to do this
easily.  The reading side is expected to read thru til the end of
the stream, not stopping at the end of the packdata, IIRC.
--
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]