Re: Inconsistencies with git log
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 8, 2007, 00:04 UTC
- Message-ID
- <Pine.LNX.4.64.0711080003080.4362@racer.site>
- In-Reply-To
- <9e4733910711071529m604f3b12v29b3a040074ea4e@mail.gmail.com>
Hi,
On Wed, 7 Nov 2007, Jon Smirl wrote:
> So if git log is always whole tree, why doesn't this work?
git log is not always the whole tree. git log without arguments is.
Show 9 quoted lines
> cd arch/powerpc/platforms/52xx > git log arch/powerpc/platforms/52xx > fatal: ambiguous argument 'arch/powerpc/platforms/52xx': unknown > revision or path not in the working tree. > Use '--' to separate paths from revisions > > It's not consistent. git log with no parameters is relative to the > project root, git log with a parameter is relative to the current > directory.
It is consistent, when you realise that the path arguments are interpreted relative to the project root.
Hth, Dscho