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

Re: If the initial commit is empty, it is not shown in "git log --simplify-by-decoration"

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
Apr 18, 2021, 08:59 UTC
Message-ID
<f24b8f44-b89e-7e11-c2b1-85b40f1e996e@gmail.com>
In-Reply-To
<CAKqNo6TFudrXnuPzQcOaVQrRpq_0K_fxyyMA5god-WQL7y=RcQ@mail.gmail.com>
On 17/04/21 06.58, Matthew Timothy Kennerly wrote:
Show 20 quoted lines
> Hello,
> 
> This seems like a bug to me, but maybe there's a good reason for it. I
> reproduced it using Git 2.27.0 on Windows initially, and then I
> upgraded to 2.31.1 to confirm that it was still present.
> 
> After committing with "--allow-empty", the initial commit is not shown
> in "git log --simplify-by-decoration", although it is shown with "git
> log". I would have expected it to be shown in both cases:
> 
> However, if the first commit is not empty, then it is shown with or
> without "--simplify-by-decoration", as expected:
> 
> For context, this was reported to me on GitHub here:
> https://github.com/mtkennerly/dunamai/issues/14
> 
> Regards,
> 
> MTK
> 
[CC] Junio, what do you think about the issue?
-- 
An old man doll... just what I always wanted! - Clara
Previous: Matthew Timothy Kennerly
Message 2 of 2 in “If the initial commit is empty, it is not shown in "git log --simplify-by-decoration"”
  1. Matthew Timothy KennerlyApr 16, 2021
  2. Bagas SanjayaApr 18, 2021

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.