Re: [PATCH 6/6] doc: notes: treat --stdin equally between copy/remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 20, 2025, at 21:19, Junio C Hamano wrote:
>> +	For `remove` and `copy`. See the respective subcommands. This
>> +	option can be combined with object names given via the command
>> +	line for `remove`. However, this is not the case for `copy`.
>
> During my first read of this paragraph, I somehow read the first two
> sentences as "if you want to learn how this option behaves with the
> remove and copy subcommands, go read the documentation for these
> subcommands", making me anticipate that the remainder of the
> paragraph would talks about what happens when --stdin is given to
> other subcommands.  Apparently that is not what is going on.
>
> It may be simpler to just say
>
> 	Only valid for `remove` and `copy`.  See the respective
> 	subcommands.
>
> and stop there.

Yep I agree.  Just leave it to the subcommand sections.

-- 
Kristoffer Haugsbakk





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux