From: Johannes Schindelin Date: Thu, 26 May 2011 00:40:49 GMT Subject: Re: [PATCHv2 1/2] Support multiple virtual repositories with a single object store and refs Message-ID: In-Reply-To: <20110526000104.GA3439@leaf> Hi, On Wed, 25 May 2011, Josh Triplett wrote: > On Thu, May 26, 2011 at 01:53:42AM +0200, Johannes Schindelin wrote: > > On Wed, 25 May 2011, Jamey Sharp wrote: > > > On Wed, May 25, 2011 at 08:51:07AM +0200, Johannes Schindelin wrote: > > > > 2) You're extending the protocol by appending the prefix after the > > > > SHA-1, and I stopped halfway through the patch trying to find > > > > information which I now think should be in the commit message: a) > > > > why? b) why does it not break when one of the two sides is a > > > > previous version? > > > > > > I don't think we're changing the protocol in any way...? > > > > Did your patch series not contain a change that sends a capability with > > the prefix appended? > > Not that we know of. Are we missing something? This is a change of protocol by my understanding: -- snip -- if (sent_capabilities) - packet_write(1, "%s %s\n", sha1_to_hex(sha1), path); + packet_write(1, "%s %s%s\n", sha1_to_hex(sha1), refnameprefix, path); -- snap -- Of course, you're free to ignore my comments just like everybody else on the Git mailing list. Ciao, Johannes