Re: Remote git-cat-file?

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

 




On Sat, 27 May 2006, Elrond wrote:
> 
> Is it possible via the git: protocol to do a git-cat-file?
> 
> To download just one object by its ID?

Nope. 

Well, depending on just how much you know about the object, you can fake 
it. For example, if you already know it's a commit, and you know the 
parents, then yes, you can download it by basically saying that you want 
that particular object and you already have the parents.

But in the general case, the answer is no. Set up a gitweb thing, and look 
up the objects that way. Or just pull the repo, and look at it locally.

Just out of interest, why would you ever want to just look at a single 
object?

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