Re: Git log print commits between a revision range (inclusive)

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

 



As Junio mentioned, "A..B" means all commits reachable from B except those
reachable from A. Understanding this is just a way to say "B --not A" is
important to know you can take advantage of:

`--boundary`
    Output excluded boundary commits. Boundary commits are prefixed with -.

In other words, git log --boundary <older hash>..<newer hash> should give you
exactly what you asked with the small caveat it marks excluded commits
differently.


Cheers,
Rafael Ascensão




[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]

  Powered by Linux