From: Jeff King Date: Wed, 23 Apr 2008 22:25:05 GMT Subject: Re: [RFC] Moving "git remote add --mirror blah" functionality to "git clone --bare --origin=blah" Message-ID: <20080423222505.GF30057@sigill.intra.peff.net> In-Reply-To: On Wed, Apr 23, 2008 at 12:56:41PM -0400, Daniel Barkalow wrote: > Something needs to get the code to figure out the remote HEAD, and it > shouldn't be "remote" for clone's use, because then clone would take an > extra connection, since "fetch" obviously has to connect and "remote" > would run before it and in a separate process. Actually, having "fetch" figure out the HEAD would be a nice feature, since then you could track the remote's idea of HEAD as time passes. AIUI, we could get by with a single connection over git:// with a protocol extension. -Peff