Git log range reverse bug

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

 



Git Version: Version: 2.14.2

When reversing a range in git log, it does not start from the expected commit:

$ git show 8e11b4a41ec21e47fb0bf8b76e1edba739f57a9b
commit 8e11b4a41ec21e47fb0bf8b76e1edba739f57a9b
Author: Some Name <SomeName@xxxxxxxxxxxxxxx>
Date:   Mon Nov 3 19:01:53 2014 +0000
.
.
.

$ git show
Author: Some Other Name <SomeOtherName@xxxxxxxxxxxxxxx>
Date:   Wed May 16 16:49:10 2018 +0000
.
.
.

$ git log --reverse 8e11b4a41ec21e47fb0bf8b76e1edba739f57a9b..HEAD
commit b4cfdb39f75070f143cdc2c4fbb98f4c6ee94260
Author: Another Name <AnotherName@xxxxxxxxxxxxxxx>
Date:   Mon Apr 29 22:16:32 2013 +0000
Some Commit message

commit 6e6d5cd2a07985ae647fc19e7404ce1edf908949
Author: Yet Another Name <YetAnotherName@xxxxxxxxxxxxxxx>
Date:   Mon Apr 29 22:35:00 2013 +0000
Some other Commit message

.
.
.

As you can see, the first commit is way off of the provided hash
Mehdi



[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