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

Re: [PATCH v3] git checkout: create unparented branch by --orphan

From
Erick Mattos <erick.mattos@gmail.com>
Date
Mar 21, 2010, 21:15 UTC
Message-ID
<55bacdd31003211415k79b7a039n3f19eb95eefcad43@mail.gmail.com>
In-Reply-To
<7vd3yxqxdj.fsf@alter.siamese.dyndns.org>
Hi,
2010/3/21 Junio C Hamano <gitster@pobox.com>:
> I'm not native either, and "orphan" sounded strange in that we've never
> used that word in any of our use case or workflow description in our
> documents.
I didn't know.  I thought you were American.
Show 5 quoted lines
> The main point of the feature is not the emptyness of the resulting tree
> (it is merely one possible outcome), but is the lack of parents in the
> resulting commit.  So I would recommend against --empty.  --root might be
> a good synonym, though, and we _do_ already use that word for that purpose
> in some commands (e.g. "log --root").

--root could be a synonym but the reason I haven't chosen it was the fact that it could mislead people to think the functionality will do something with/based on the first commit of the actual branch, subjectively thinking "THE ROOT".

IMHO --orphan (no parents) is more obvious.

We should argue one of our native English speaker amidst this developer community to be sure.

Anyway that is just a word to change or not in the patch... :-)
Regards
Previous: Junio C HamanoNext: Michael J Gruber
Message 5 of 13 in “git checkout: create unparented branch by --orphan”
  1. git checkout: create unparented branch by --orphanErick Mattos, Mar 21, 2010
  2. Peter BaumannMar 21, 2010
  3. Erick MattosMar 21, 2010
  4. Junio C HamanoMar 21, 2010
  5. Erick MattosMar 21, 2010
  6. Michael J GruberMar 22, 2010
  7. Chris JohnsenMar 22, 2010
  8. Erick MattosMar 22, 2010
  9. Junio C HamanoMar 21, 2010
  10. Chris JohnsenMar 22, 2010
  11. Erick MattosMar 22, 2010
  12. Translating error messages in Git (was: Re: [PATCH v3] git checkout: create unparented branch by --orphan)Jakub Narebski, Mar 22, 2010
  13. Junio C HamanoMar 22, 2010

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.