Re: potential improvement to 'git log' with a range
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Apr 9, 2010, 23:33 UTC
- Message-ID
- <i2kfabb9a1e1004091633nc70f2f19hd16ea9704f0933b0@mail.gmail.com>
- In-Reply-To
- <w2j3abd05a91004091624mb2836ff4v118a1ae9ac5ca6e7@mail.gmail.com>
Heya,
On Sat, Apr 10, 2010 at 01:24, Aghiles <aghilesk@gmail.com> wrote:
Show 9 quoted lines
> If I type: > > git log FETCH_HEAD~4..HEAD > > I get something. But if I type: > > git log HEAD..FETCH_HEAD~4 > > I get nothing. Is there a good reason for that ?
Yes, read up on the documentation as to what ".." means. Hint, a \ b is not the same as b \ a [0].
[0] http://en.wikipedia.org/wiki/Intersection_(set_theory)
-- Cheers, Sverre Rabbelier