Re: [PATCH] Docs: git checkout --orphan: `root commit' and `branch head'
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 28, 2011, 18:17 UTC
- Message-ID
- <7vwrcszg3q.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <vpq4nzwoj1o.fsf@bauges.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 8 quoted lines
> Michael Witten <mfwitten@gmail.com> writes: > >> Well, as Junio mentioned, "--orphan" could be deprecated in favor of >> "--no-parent"; the uncommon nature of this task works to our >> advantage, in that it makes a deprecation of "--orphan" easy. > > I agree that _some_ cases would be more natural with commit --no-parent, > but I disagree that it is a better solution in general.
Just for the record, in my later message after reading Peff's response, I said I agree that adding it to "commit" would be a mistake.