Re: [PATCH v2] Docs: git checkout --orphan: `root commit' and `branch head'
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Sep 27, 2011, 16:01 UTC
- Message-ID
- <vpqsjni6kkk.fsf@bauges.imag.fr>
- In-Reply-To
- <69d6fb3199bc4f74b25dae7992a9f132-mfwitten@gmail.com>
Michael Witten <mfwitten@gmail.com> writes:
Show 5 quoted lines
> -This can be useful when you want to publish the tree from a commit > -without exposing its full history. You might want to do this to publish > -an open source branch of a project whose current tree is "clean", but > -whose full history contains proprietary or otherwise encumbered bits of > -code.
This part used to be just this in v1:
-This can be useful when you want to publish the tree from a commit -without exposing its full history. You might want to do this to publish +This can be useful when you want to publish a tree without exposing its +full history; for instance, you might want to do this to publish an open source branch of a project whose current tree is "clean", but whose full history contains proprietary or otherwise encumbered bits of code.
is it intentionnal that you discarded completely the paragraph? If so, then I disagree, the paragraph was one of the main motivation for someone to use --orphan, without it, someone may understand _what_ it does, but not _why_ it is useful.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/