From: Jon Smirl Date: Wed, 07 Nov 2007 23:03:12 GMT Subject: Re: Inconsistencies with git log Message-ID: <9e4733910711071503va92a653s25fd978989d5917d@mail.gmail.com> In-Reply-To: On 11/7/07, Johannes Schindelin wrote: > > Shouldn't git log default to "git log ."? > > Well, it is in line with the other commands being able to work on > subdirectories, but doing the whole repository operation by default. I agree with this and see how it got this way. > We also tend to take the approach of viewing the history as that of > the whole project. But if you type 'git log' while cd'd into a subdirectory the whole log is almost never what you want. It's this kind of thing that makes git harder to use. > This approach also means that it is a much more expensive operation to log > the history as seen by a subdirectory, which is another reason why it is > not the default. > > Hth, > Dscho > > -- Jon Smirl jonsmirl@gmail.com