git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geoff Russell <geoffrey.russell@gmail.com>
To: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>, tom@dbservice.com
Cc: git@vger.kernel.org
Subject: Re: wierd git show syntax
Date: Tue, 5 Oct 2010 09:02:12 +1030	[thread overview]
Message-ID: <AANLkTineQDgVUvbjR-9LvtuVVw3RX_gB=urY5Fn4K6QE@mail.gmail.com> (raw)
In-Reply-To: <vpqtyl7fovk.fsf@bauges.imag.fr>

On Thu, Sep 30, 2010 at 10:02 PM, Matthieu Moy
<Matthieu.Moy@grenoble-inp.fr> wrote:
> Geoff Russell <geoffrey.russell@gmail.com> writes:
>
>> Hi,
>>
>> $ git show XXXX:data/path/object.c
>>
>> Gives me what I want, a cat of the objects contents. However
>> for some files I get a message about ambiguous argument telling me to
>> separate paths from revisions with '--'.
>
> This happens if data/path/object.c doesn't exist in XXXX.

Thanks Matthieu and Tom for your explanations on this. It's clearer
now ... even if my intuition failed to match the syntax!

Cheers,
Geoff

      reply	other threads:[~2010-10-04 22:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30  5:02 wierd git show syntax Geoff Russell
2010-09-30  8:46 ` Tomas Carnecky
2010-09-30  9:02   ` Tomas Carnecky
2010-09-30 11:32 ` Matthieu Moy
2010-10-04 22:32   ` Geoff Russell [this message]

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='AANLkTineQDgVUvbjR-9LvtuVVw3RX_gB=urY5Fn4K6QE@mail.gmail.com' \
    --to=geoffrey.russell@gmail.com \
    --cc=Matthieu.Moy@grenoble-inp.fr \
    --cc=git@vger.kernel.org \
    --cc=tom@dbservice.com \
    /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).