Re: Efficient retrieval of commit log info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, 12 Dec 2007, Eirik Bj?rsn?s wrote:
> 
> Is it at all possible using the git network protocols to fetch just
> the commit log info, without transferring the contents?

>From a _protocol_ angle that's trivial (the git network protocol doesn't 
really care what it transfers, it just transfers objects), but no, we 
don't actually expose any capability like that. If you were to just want 
this privately, the quick hack is to just disable traversal of trees in 
builtin-pack-objects on the server side, but it sounds like you want to do 
this in general (not just with git and not just with a server you 
control), and if so, you're kind of screwed.

You could hack around it (very inefficiently) by parsing gitweb output, of 
course, but I bet that you'd probably get better performance just cloning 
the whole thing (which allows streaming, rather than trying to click 
through commits on gitweb)

		Linus
-
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux