git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 4/4] rev-list-options: fix typo in `--stdin` documentation

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 16, 2023, 18:52 UTC
Message-ID
<xmqqv8dees64.fsf@gitster.g>
In-Reply-To
<xmqqzg2qesoq.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 5 quoted lines
> Martin Ågren <martin.agren@gmail.com> writes:
>
>> With `--stdin`, we read *from* standard input, not *for*.
>
> True, and the name of the stream is "the standard input".

... but there are too numerous instances of unadorned "standard input" in the documentation, let's leave it for now.

Thanks for these fixes.  Queued all four and will fast track.
Show 19 quoted lines
>
>> Signed-off-by: Martin Ågren <martin.agren@gmail.com>
>> ---
>>  Documentation/rev-list-options.txt | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
>> index e6468bf0eb..a4a0cb93b2 100644
>> --- a/Documentation/rev-list-options.txt
>> +++ b/Documentation/rev-list-options.txt
>> @@ -237,7 +237,7 @@ endif::git-rev-list[]
>>  
>>  --stdin::
>>  	In addition to getting arguments from the command line, read
>> -	them for standard input as well. This accepts commits and
>> +	them from standard input as well. This accepts commits and
>>  	pseudo-options like `--all` and `--glob=`. When a `--` separator
>>  	is seen, the following input is treated as paths and used to
>>  	limit the result.
Previous: Junio C HamanoNext: Martin Ågren
Message 6 of 12 in “some doc fixes on v2.42.0-rc2”
  1. 0/4 some doc fixes on v2.42.0-rc2Martin Ågren, Aug 16, 2023
  2. 1/4 notes doc: split up run-on sentencesMartin Ågren, Aug 16, 2023
  3. 1/4 notes doc: split up run-on sentencesTeng Long, Aug 17, 2023
  4. 4/4 rev-list-options: fix typo in `--stdin` documentationMartin Ågren, Aug 16, 2023
  5. Junio C HamanoAug 16, 2023
  6. Junio C HamanoAug 16, 2023
  7. Martin ÅgrenAug 17, 2023
  8. 2/4 notes doc: tidy up `--no-stripspace` paragraphMartin Ågren, Aug 16, 2023
  9. 2/4 notes doc: tidy up `--no-stripspace` paragraphTeng Long, Aug 17, 2023
  10. Martin ÅgrenAug 17, 2023
  11. 3/4 show-ref doc: fix carets in monospaceMartin Ågren, Aug 16, 2023
  12. Junio C HamanoAug 16, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.