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

Re: [PATCH] setup: fix grammar in code comment

From
D. Ben Knoble <ben.knoble@gmail.com>
Date
Nov 21, 2026, 17:27 UTC
Message-ID
<CALnO6CCJO67E+QA6U4b_p6X9TRwFncc_S6vTs_f6YOX11m0YXA@mail.gmail.com>
In-Reply-To
<pull.2500.git.git.1795279741855.gitgitgadget@gmail.com>

On Sat, Nov 21, 2026 at 11:49 AM Ophir Bleicher via GitGitGadget <gitgitgadget@gmail.com> wrote:

>
> From: Ophir Bleicher <ophirble@gmail.com>
>
> Fix a grammar problem in line 271 of setup.c:
Is it a grammatical error? I think it's simply the wrong word.
> will only complain about an inexisting file.

What a strange little word: it comes from "inexist", which does *not* mean "does not exist" but rather "exist within"!

https://en.wiktionary.org/wiki/inexist#English
> Change it to 'non-existing'.
I think "non-existent" (or "missing" or "not found") would be more common here.
Show 29 quoted lines
> Signed-off-by: Ophir Bleicher <ophirble@gmail.com>
> ---
>     setup: fix grammar in code comment
>
> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2500%2FOphirBleicher%2Fsetup-code-typo-v1
> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2500/OphirBleicher/setup-code-typo-v1
> Pull-Request: https://github.com/git/git/pull/2500
>
>  setup.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/setup.c b/setup.c
> index cedc031c54..140f1926c4 100644
> --- a/setup.c
> +++ b/setup.c
> @@ -268,7 +268,7 @@ static int looks_like_pathspec(const char *arg)
>   * diagnosis when dying upon finding that "name" is not a pathname.
>   * If set to 1, the diagnosis will try to diagnose "name" as an
>   * invalid object name (e.g. HEAD:foo). If set to 0, the diagnosis
> - * will only complain about an inexisting file.
> + * will only complain about a non-existing file.
>   *
>   * This function is typically called to check that a "file or rev"
>   * argument is unambiguous. In this case, the caller will want
>
> base-commit: f7de81456940dd6f3274e461149bba12965de609
> --
> gitgitgadget
>
-- 
D. Ben Knoble
Previous: Ophir Bleicher via GitGitGadgetNext: Ophir Bleicher
Message 2 of 7 in “setup: fix grammar in code comment”
  1. setup: fix grammar in code commentOphir Bleicher via GitGitGadget, Nov 21, 2026
  2. D. Ben KnobleNov 21, 2026
  3. Ophir BleicherNov 21, 2026
  4. setup: fix incorrect word in code commentOphir Bleicher via GitGitGadget, Nov 21, 2026
  5. setup: fix incorrect word in code commentOphir Bleicher via GitGitGadget, Nov 21, 2026
  6. Ben KnobleNov 21, 2026
  7. Junio C HamanoNov 22, 2026

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.