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

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

From
Jeff King <peff@peff.net>
Date
Jun 6, 2017, 18:53 UTC
Message-ID
<20170606185324.ocedi4e3teqi3ayk@sigill.intra.peff.net>
In-Reply-To
<20170606184200.4xohdrwxqqvxgkr7@sigill.intra.peff.net>
On Tue, Jun 06, 2017 at 02:42:01PM -0400, Jeff King wrote:
Show 7 quoted lines
> > "Waiting for initial commit" is much better even in this case, but I
> > still don't like that "initial", though I can't say why, and don't
> > have any better suggestion either.  Though users experienced enough to
> > create an empty unborn branch would probably not be confused by that.
> 
> I agree. If the state we are describing is limited to the current
> branch, how about saying so? Like "Your current branch has no commits".

Actually, something like "does not yet have any commits" might be better.

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).

-Peff
Previous: Jeff KingNext: Junio C Hamano
Message 12 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.