From: Johannes Schindelin Date: Thu, 08 Nov 2007 00:35:50 GMT Subject: Re: Inconsistencies with git log Message-ID: In-Reply-To: <9e4733910711071609t3e5412f1mf02e501b2d820bb3@mail.gmail.com> Hi, On Wed, 7 Nov 2007, Jon Smirl wrote: > On 11/7/07, Johannes Schindelin wrote: > > It is consistent, when you realise that the path arguments are interpreted > > relative to the project root. > > Then why doesn't this work? > > jonsmirl@terra:~/mpc5200b$ git log Documentation > all the log for Documentation.... > jonsmirl@terra:~/mpc5200b$ cd Documentation > jonsmirl@terra:~/mpc5200b/Documentation$ git log Documentation > fatal: ambiguous argument 'Documentation': unknown revision or path > not in the working tree. > Use '--' to separate paths from revisions Because you are in the subdirectory Documentation/, relative to the project root. So when you say "Documentation", it tries to find the file/directory Documentation/Documentation. Therefore, just say "git log ." and you will get what you want. Ciao, Dscho