Re: Inconsistencies with git log
- From
Jon Smirl <jonsmirl@gmail.com>
- Date
- Nov 7, 2007, 23:03 UTC
- Message-ID
- <9e4733910711071503va92a653s25fd978989d5917d@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0711072255420.4362@racer.site>
On 11/7/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> 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.
Show 8 quoted lines
> 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