From: Jakub Narebski Date: Tue, 12 Sep 2006 00:25:08 GMT Subject: Re: Change set based shallow clone Message-ID: In-Reply-To: <7vodtmey30.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > Jakub Narebski writes: > >> Actually 'git ls-remote .' _is_ useful for gitweb, see the new >> git_get_references code. > > You are missing the point. > > We are not discussing if having foo^{} is useful. There is no > argument about it. Without it the user is forced to ask > rev-parse. > > The point is if it is Ok to assume foo and foo^{} (and nothing > else) are enough to make Porcelains and visualizers happy, and I > suspected the answer was no (remember show-ref discussion?). Well, it is enough for ref markers (this commit is this head or tag), for dumb http transport (indo/refs output is the same as ls-remote), and not much else... -- Jakub Narebski Warsaw, Poland ShadeHawk on #git