git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@osdl.org>
To: Elrond <elrond+kernel.org@samba-tng.org>
Cc: git@vger.kernel.org
Subject: Re: Remote git-cat-file?
Date: Sat, 27 May 2006 17:29:26 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0605271727110.5623@g5.osdl.org> (raw)
In-Reply-To: <loom.20060528T002420-957@post.gmane.org>



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

  reply	other threads:[~2006-05-28  0:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-27 22:26 Remote git-cat-file? Elrond
2006-05-28  0:29 ` Linus Torvalds [this message]
2006-05-28  0:32   ` Linus Torvalds
2006-05-28 10:57   ` Elrond
2006-05-28 12:00     ` Jakub Narebski
2006-05-28 17:38       ` Junio C Hamano
2006-05-28 18:34         ` Jakub Narebski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0605271727110.5623@g5.osdl.org \
    --to=torvalds@osdl.org \
    --cc=elrond+kernel.org@samba-tng.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).