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

Re: [PATCH] t: fix duplicate words of "output"

From
Junio C Hamano <gitster@pobox.com>
Date
May 6, 2016, 17:26 UTC
Message-ID
<xmqqshxv3xno.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1462537363-17962-1-git-send-email-lip@dtdream.com>
Li Peng <lip@dtdream.com> writes:
Show 17 quoted lines
> Fix duplicate words of "output" in comment.
>
> Signed-off-by: Li Peng <lip@dtdream.com>
> ---
>  t/t0000-basic.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh
> index 79b9074..60811a3 100755
> --- a/t/t0000-basic.sh
> +++ b/t/t0000-basic.sh
> @@ -98,7 +98,7 @@ check_sub_test_lib_test () {
>  }
>  
>  check_sub_test_lib_test_err () {
> -	name="$1" # stdin is the expected output output from the test
> +	name="$1" # stdin is the expected output from the test

The original is marginally correct. The first "output" is a noun, "expected output", the second one is a pp of verb "to output", i.e. "to produce".

I would have written it as "the expected output produced by the test", though.

Previous: Li PengNext: Ilya Bobyr
Message 2 of 3 in “t: fix duplicate words of "output"”
  1. t: fix duplicate words of "output"Li Peng, May 6, 2016
  2. Junio C HamanoMay 6, 2016
  3. Ilya BobyrMay 7, 2016

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.