Re: one bug on git

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

 



> On Tue, Dec 3, 2019 at 1:25 AM Lou, Pengfei (NSB - CN/Hangzhou) <pengfei.lou@xxxxxxxxxxxxxxx> wrote:
>
> I think it should be like below
> [pelou@hzling29 try_des]$ git log --raw -1 --no-walk=unsorted 57cf56b8c1af9115a7f8e1c1c8f07e4d657e8b15^ 57cf56b8c1af9115a7f8e1c1c8f07e4d657e8b15
> commit 57cf56b8c1af9115a7f8e1c1c8f07e4d657e8b15
> Author: pelou <pengfei.lou@xxxxxxxxxxxxxxx>
> Date:   Tue Dec 3 17:00:47 2019 +0800
>
>     3
>
> :100644 100644 9a7456b... 8148ef7... M  lpf

So you always want to see the child before the parent?

Try " git log --raw -1 --date-order
57cf56b8c1af9115a7f8e1c1c8f07e4d657e8b15^
57cf56b8c1af9115a7f8e1c1c8f07e4d657e8b15"

(Replacing --no-walk=unsorted with --date-order)

Bryan

P.S. Again, please don't top-post on the list.



[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