From: Matthieu Moy Date: Thu, 30 Sep 2010 11:32:31 GMT Subject: Re: wierd git show syntax Message-ID: In-Reply-To: Geoff Russell 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. A common mistake is to write XXXX:relative/path when Git expects a path relative to the tree root. Git >= 1.7 would give you a more friendly error message in this case. -- Matthieu Moy http://www-verimag.imag.fr/~moy/