Re: Change set based shallow clone
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Sep 12, 2006, 00:25 UTC
- Message-ID
- <ee4uos$oq7$1@sea.gmane.org>
- In-Reply-To
- <7vodtmey30.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 14 quoted lines
> Jakub Narebski <jnareb@gmail.com> 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