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

Re: Git log print commits between a revision range (inclusive)

From
Wwuzhouhui <wuzhouhui14@mails.ucas.ac.cn>
Date
Mar 4, 2019, 07:30 UTC
Message-ID
<762fc5a4.39a30.169479c8834.Coremail.wuzhouhui14@mails.ucas.ac.cn>
In-Reply-To
<62307e7b.399f4.169479a611e.Coremail.wuzhouhui14@mails.ucas.ac.cn>
Show 11 quoted lines
> -----Original Messages-----
> From: wuzhouhui <wuzhouhui14@mails.ucas.ac.cn>
> Sent Time: 2019-03-04 15:28:13 (Monday)
> To: git@vger.kernel.org
> Cc: 
> Subject: Git log print commits between a revision range (inclusive)
> 
> 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],

Sorry for forgetting paste the link of [1]: [1] https://stackoverflow.com/questions/18595305/git-log-outputs-in-a-specific-revision-range

Show 9 quoted lines
> 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.
Previous: wuzhouhuiNext: Junio C Hamano
Message 2 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.