git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: one bug on git

From
Bryan Turner <bturner@atlassian.com>
Date
Dec 3, 2019, 09:30 UTC
Message-ID
<CAGyf7-FWF_-H=z9jozeoC05XDKTmzU2N4K5cH0WCdZnKBF8Osg@mail.gmail.com>
In-Reply-To
<CAGyf7-HmACw1im7C-RfkO5YLf0t+11LmqwPqMOjSTN5a4y7-hg@mail.gmail.com>
Show 11 quoted lines
> On Tue, Dec 3, 2019 at 1:25 AM Lou, Pengfei (NSB - CN/Hangzhou) <pengfei.lou@nokia-sbell.com> 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@nokia-sbell.com>
> 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.
Previous: Lou, Pengfei (NSB - CN/Hangzhou)
Message 7 of 7 in “RE: one bug on git”
  1. Lou, Pengfei (NSB - CN/Hangzhou)Dec 3, 2019
  2. Lou, Pengfei (NSB - CN/Hangzhou)Dec 3, 2019
  3. Bryan TurnerDec 3, 2019
  4. Lou, Pengfei (NSB - CN/Hangzhou)Dec 3, 2019
  5. Bryan TurnerDec 3, 2019
  6. Lou, Pengfei (NSB - CN/Hangzhou)Dec 3, 2019
  7. Bryan TurnerDec 3, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.