Junio C Hamano wrote: > Jakub Narebski <jnareb@xxxxxxxxx> 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 - 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