Re: potential improvement to 'git log' with a range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Heya,

On Sat, Apr 10, 2010 at 01:24, Aghiles <aghilesk@xxxxxxxxx> wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]