Re: [PATCH 4/8] upload-pack: new capability to pass --skip* to pack-objects
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 5, 2016, 09:18 UTC
- Message-ID
- <alpine.DEB.2.20.1602051017210.2964@virtualbox>
- In-Reply-To
- <1454662677-15137-5-git-send-email-pclouds@gmail.com>
Hi Duy,
On Fri, 5 Feb 2016, Nguyễn Thái Ngọc Duy wrote:
Show 23 quoted lines
> [... empty commit message body...] > > Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> > --- > > [...] > diff --git a/Documentation/technical/protocol-capabilities.txt b/Documentation/technical/protocol-capabilities.txt > index eaab6b4..0567970 100644 > --- a/Documentation/technical/protocol-capabilities.txt > +++ b/Documentation/technical/protocol-capabilities.txt > @@ -275,3 +275,12 @@ to accept a signed push certificate, and asks the <nonce> to be > included in the push certificate. A send-pack client MUST NOT > send a push-cert packet unless the receive-pack server advertises > this capability. > + > +partial > +------ > + > +This capability adds "skip" line to the protocol, which passes --skip > +and --skip-hash to pack-objects. When "skip" line is present, given > +the same set of input from the client (e.g. have, want and shallow > +lines, "skip" line excluded), the exact same pack must be produced. > +
Would you care to elaborate on this idea a bit more? The commit message would make an excellent place for describing the underlying idea, as well as comparing it to the alternatives.
Ciao, Dscho