Re: [PATCH v2] git-checkout.txt: Document "git checkout <pathspec>" better
On Thu, Jun 18, 2015 at 2:58 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> Torsten Bögershausen <tboegi@web.de> writes:
>
>> On 2015-06-17 21.23, Junio C Hamano wrote:
>> []
>>>> Basically, I'm fine with anything starting with "Switch branches or",
>>>> but please do change the headline ;-).
>>>
>>> Likewise; I agree "switch branches or" part is good.
>>
>> How about this:
>>
>> git-checkout - Switch branches or restore changes to the working tree
>
> Gahh. We are NOT restoring CHANGES. We are restoring the whole
> contents to a path.
"the whole contents" is only true when --patch is not used, I think.
--
Duy