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

Re: What does this output of git supposed to mean ?

From
Philip Oakley <philipoakley@iee.org>
Date
Jun 7, 2017, 22:14 UTC
Message-ID
<6500B5D478934FE1A5EB49F6B936BF80@PhilipOakley>
In-Reply-To
<2d7e165d-b44c-ab3c-a4db-af5df64048a9@gmail.com>
From: "Kaartic Sivaraam" <kaarticsivaraam91196@gmail.com>
Show 10 quoted lines
> On Wednesday 07 June 2017 03:35 AM, Philip Oakley wrote:
>> Maybe have a try at a patch to update the text? See the 
>> git/Documentation/SubmittingPatches for guidance.
> I guess this should be trivial (correct me if I'm wrong). I'll try when I 
> find time. In case I make the change which of the following message should 
> replace the message 'Initial commit' ? (this could be a poll, I guess)
>
> 1. No commit yet
> 2. Waiting for initial commit
> 3. Your current branch does not have any commits

2, or 3, or a mix of the two "current branch waiting for initial commit" maybe.

Show 13 quoted lines
>
> Further what is to be done about the following comment,
>
> On Wednesday 07 June 2017 12:23 AM, Jeff King wrote:
>
> There is a slight complication, though. There's similar text in "git 
> status -sb", which shows: ## Initial commit on master Should that also 
> change to use consistent terminology? If so, we need a phrasing short 
> phrasing that matches (and the --porcelain and --porcelain=v2 formats of 
> course would need to remain the same).
>
> BTW, could anyone provide a pointer to the implementation that prints this 
> message ?

I think the two messages are in wt-status.c with the simple "Initial commit" at ~L1560, while ~L1728 has the "Initial commit on" line.

Philip
>
> --
> Regards,
> Kaartic Sivaraam 
Previous: Kaartic Sivaraam
Message 17 of 17 in “What does this output of git supposed to mean ?”
  1. Kaartic SivaraamJun 5, 2017
  2. brian m. carlsonJun 5, 2017
  3. Stefan BellerJun 5, 2017
  4. Junio C HamanoJun 6, 2017
  5. brian m. carlsonJun 6, 2017
  6. Samuel LijinJun 6, 2017
  7. Junio C HamanoJun 6, 2017
  8. DavidJun 6, 2017
  9. Philip OakleyJun 6, 2017
  10. SZEDER GáborJun 6, 2017
  11. Jeff KingJun 6, 2017
  12. Jeff KingJun 6, 2017
  13. Junio C HamanoJun 6, 2017
  14. Kaartic SivaraamJun 6, 2017
  15. Philip OakleyJun 6, 2017
  16. Kaartic SivaraamJun 7, 2017
  17. Philip OakleyJun 7, 2017

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.