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

Git log print commits between a revision range (inclusive)

From
Wwuzhouhui <wuzhouhui14@mails.ucas.ac.cn>
Date
Mar 4, 2019, 07:28 UTC
Message-ID
<62307e7b.399f4.169479a611e.Coremail.wuzhouhui14@mails.ucas.ac.cn>
Hi,

I want to know how to display logs between a revision range (both start and end are inclusive). I searched it and only found[1], which doesn't resolve my problem completely, because

  git log <older hash>..<newer hash>

doesn't contains the log of <older hash>. So, how to display logs between a revision range that both start and end are inclusive?

Please CC me, thanks.
Next: wuzhouhui
Message 1 of 5 in “Git log print commits between a revision range (inclusive)”
  1. wuzhouhuiMar 4, 2019
  2. wuzhouhuiMar 4, 2019
  3. Junio C HamanoMar 4, 2019
  4. Rafael AscensãoMar 5, 2019
  5. Junio C HamanoMar 5, 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.