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, 17:55 UTC
Message-ID
<55bacdd31003211055r348f37b0sb4ff02c38c64722b@mail.gmail.com>
In-Reply-To
<20100321171431.GE2557@m62s10.vlinux.de>
Hi,
2010/3/21 Peter Baumann <waste.manager@gmx.de>:
> Sorry to skim in so late but --orphan sounds - at least to me as a non native
> speaker - a little strange. Yes, I know it means "without parents", but
> actually it would be the *last* thing I would search for after opening the
> manpage.

It is never late to contribute, even for skimming. Free software are organic and living things people can mold it whenever they want.

We are both non native English speakers but for me orphan is the real obvious for no parents. And that is the name of the command you type: shorter and not similar to other ones is the best.

I don't care about names as long as its bearer does what it is supposed to do. But in this particular case I think it fits the job.

> Wouldn't --empty-parent or --no-parent describe the situation better?
> It actually has the benefit that it would match on a search for /parent/,
> which I would have searched for if I want to create a new empty branch.

--empty-parent try to give the "plumbing" idea but it is not really 'empty' but 'non-existant' and also it is not good to make "porcelainners" (inventing this term) see it as an unparented though.

--no-parent is just added characters and make it feel as if it exists a --parent too.

You WILL match on a search for /parent/ already.
> --
> Peter
>
Thanks for you contributing ideas.

Although I don't agree with you on this subject, I am very happy you participated your ideas to me. It is good to get some attention :-)

In this particular case I see Junio as a native English speaker better fitted to comment.

Best regards
Previous: Peter BaumannNext: Junio C Hamano
Message 3 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.