Re: [PATCH] Documentation/git-checkout: make doc. of checkout <tree-ish> clearer
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 19, 2017, 01:40 UTC
- Message-ID
- <xmqq1sspdvjk.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <1492518377.5720.47.camel@gmail.com>
Christoph Michelbach <michelbach94@gmail.com> writes:
Show 12 quoted lines
> On Mon, 2017-04-17 at 17:31 -0700, Junio C Hamano wrote: > >> Obviously, "grab all paths that match <pathspec> out of <tree>, add >> them to the index and copy them out to the working tree" will never >> be able to _restore_ the lack of 'd', even it may match the >> <pathspec> being used to do this checkout, by removing it from the >> current index and the working tree. > > Exactly. "grab all paths that match <pathspec> out of <tree>, add them > to the index and copy them out to the working tree" is a more accurate > description of what the command does (but it might need some rewording > ;-) ).
Of course it is accurate, as that is how I would write it, not "restore", if I were doing the documentation.
Care to send in a patch to update the documentation?