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

How to get next commit that just after a specified commit

From
Wwuzhouhui <wuzhouhui14@mails.ucas.ac.cn>
Date
Feb 13, 2019, 09:08 UTC
Message-ID
<383c14cc.9289.168e61d39e8.Coremail.wuzhouhui14@mails.ucas.ac.cn>
Hi,
I have searched Internet for while but couldn't find the answer.
Suppose I have commit
  212146f0800e
then commit
  73a4c5218414
and finally commit
  aadaa8061189
So I get following after 'git log':
  aadaa8061189
  73a4c5218414
  212146f0800e

And now, my question is how to retrieve the next commit (i.e. 73a4c5218414) that just after 212146f0800e?

Please CC me.
Thanks.
Next: Ævar Arnfjörð Bjarmason
Message 1 of 6 in “How to get next commit that just after a specified commit”
  1. wuzhouhuiFeb 13, 2019
  2. Ævar Arnfjörð BjarmasonFeb 13, 2019
  3. Junio C HamanoFeb 13, 2019
  4. Ævar Arnfjörð BjarmasonFeb 13, 2019
  5. Derrick StoleeFeb 18, 2019
  6. Philip OakleyFeb 15, 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.