Re: wierd git show syntax
- From
Geoff Russell <geoffrey.russell@gmail.com>
- Date
- Oct 4, 2010, 22:32 UTC
- Message-ID
- <AANLkTineQDgVUvbjR-9LvtuVVw3RX_gB=urY5Fn4K6QE@mail.gmail.com>
- 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:
Show 11 quoted lines
> 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