{"thread":{"id":"66909","subject":"[PATCH] setup: fix grammar in code comment","startedAt":"2026-11-21T16:49:01Z","lastAt":"2026-11-22T19:30:17Z","messageCount":7,"participants":["Ophir Bleicher via GitGitGadget","D. Ben Knoble","Ophir Bleicher","Ben Knoble","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"559041","messageId":"pull.2500.git.git.1795279741855.gitgitgadget@gmail.com","threadId":"66909","inReplyTo":null,"subject":"[PATCH] setup: fix grammar in code comment","fromName":"Ophir Bleicher via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2026-11-21T16:49:01Z","receivedAt":"2026-11-21T16:49:01Z","isPatch":true,"sender":{"key":"name:Ophir Bleicher","avatar":null},"body":"From: Ophir Bleicher <ophirble@gmail.com>\n\nFix a grammar problem in line 271 of setup.c:\n\nwill only complain about an inexisting file.\n\nChange it to 'non-existing'.\n\nSigned-off-by: Ophir Bleicher <ophirble@gmail.com>\n---\n    setup: fix grammar in code comment\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2500%2FOphirBleicher%2Fsetup-code-typo-v1\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2500/OphirBleicher/setup-code-typo-v1\nPull-Request: https://github.com/git/git/pull/2500\n\n setup.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/setup.c b/setup.c\nindex cedc031c54..140f1926c4 100644\n--- a/setup.c\n+++ b/setup.c\n@@ -268,7 +268,7 @@ static int looks_like_pathspec(const char *arg)\n  * diagnosis when dying upon finding that \"name\" is not a pathname.\n  * If set to 1, the diagnosis will try to diagnose \"name\" as an\n  * invalid object name (e.g. HEAD:foo). If set to 0, the diagnosis\n- * will only complain about an inexisting file.\n+ * will only complain about a non-existing file.\n  *\n  * This function is typically called to check that a \"file or rev\"\n  * argument is unambiguous. In this case, the caller will want\n\nbase-commit: f7de81456940dd6f3274e461149bba12965de609\n-- \ngitgitgadget\n\n"},{"id":"559044","messageId":"CALnO6CCJO67E+QA6U4b_p6X9TRwFncc_S6vTs_f6YOX11m0YXA@mail.gmail.com","threadId":"66909","inReplyTo":"pull.2500.git.git.1795279741855.gitgitgadget@gmail.com","subject":"Re: [PATCH] setup: fix grammar in code comment","fromName":"D. Ben Knoble","fromEmail":"ben.knoble@gmail.com","sentAt":"2026-11-21T17:27:55Z","receivedAt":"2026-11-21T17:27:55Z","isPatch":true,"sender":{"key":"ben.knoble@gmail.com","avatar":"https://avatars.githubusercontent.com/u/22802209?v=4"},"body":"On Sat, Nov 21, 2026 at 11:49 AM Ophir Bleicher via GitGitGadget\n<gitgitgadget@gmail.com> wrote:\n>\n> From: Ophir Bleicher <ophirble@gmail.com>\n>\n> Fix a grammar problem in line 271 of setup.c:\n\nIs it a grammatical error? I think it's simply the wrong word.\n\n> will only complain about an inexisting file.\n\nWhat a strange little word: it comes from \"inexist\", which does *not*\nmean \"does not exist\" but rather \"exist within\"!\n\nhttps://en.wiktionary.org/wiki/inexist#English\n\n> Change it to 'non-existing'.\n\nI think \"non-existent\" (or \"missing\" or \"not found\") would be more common here.\n\n> Signed-off-by: Ophir Bleicher <ophirble@gmail.com>\n> ---\n>     setup: fix grammar in code comment\n>\n> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2500%2FOphirBleicher%2Fsetup-code-typo-v1\n> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2500/OphirBleicher/setup-code-typo-v1\n> Pull-Request: https://github.com/git/git/pull/2500\n>\n>  setup.c | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n>\n> diff --git a/setup.c b/setup.c\n> index cedc031c54..140f1926c4 100644\n> --- a/setup.c\n> +++ b/setup.c\n> @@ -268,7 +268,7 @@ static int looks_like_pathspec(const char *arg)\n>   * diagnosis when dying upon finding that \"name\" is not a pathname.\n>   * If set to 1, the diagnosis will try to diagnose \"name\" as an\n>   * invalid object name (e.g. HEAD:foo). If set to 0, the diagnosis\n> - * will only complain about an inexisting file.\n> + * will only complain about a non-existing file.\n>   *\n>   * This function is typically called to check that a \"file or rev\"\n>   * argument is unambiguous. In this case, the caller will want\n>\n> base-commit: f7de81456940dd6f3274e461149bba12965de609\n> --\n> gitgitgadget\n>\n\n\n-- \nD. Ben Knoble\n\n"},{"id":"559045","messageId":"DCB2D90D-09E5-4D19-99F9-7E268434952B@gmail.com","threadId":"66909","inReplyTo":"CALnO6CCJO67E+QA6U4b_p6X9TRwFncc_S6vTs_f6YOX11m0YXA@mail.gmail.com","subject":"Re: [PATCH] setup: fix grammar in code comment","fromName":"Ophir Bleicher","fromEmail":"ophirble@gmail.com","sentAt":"2026-11-21T17:29:22Z","receivedAt":"2026-11-21T17:29:22Z","isPatch":true,"sender":{"key":"ophirble@gmail.com","avatar":null},"body":"OK, I’ll submit another patch...\n\n> On 21 Nov 2026, at 19:27, D. Ben Knoble <ben.knoble@gmail.com> wrote:\n> \n> On Sat, Nov 21, 2026 at 11:49 AM Ophir Bleicher via GitGitGadget\n> <gitgitgadget@gmail.com> wrote:\n>> \n>> From: Ophir Bleicher <ophirble@gmail.com>\n>> \n>> Fix a grammar problem in line 271 of setup.c:\n> \n> Is it a grammatical error? I think it's simply the wrong word.\n> \n>> will only complain about an inexisting file.\n> \n> What a strange little word: it comes from \"inexist\", which does *not*\n> mean \"does not exist\" but rather \"exist within\"!\n> \n> https://en.wiktionary.org/wiki/inexist#English\n> \n>> Change it to 'non-existing'.\n> \n> I think \"non-existent\" (or \"missing\" or \"not found\") would be more common here.\n> \n>> Signed-off-by: Ophir Bleicher <ophirble@gmail.com>\n>> ---\n>>    setup: fix grammar in code comment\n>> \n>> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2500%2FOphirBleicher%2Fsetup-code-typo-v1\n>> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2500/OphirBleicher/setup-code-typo-v1\n>> Pull-Request: https://github.com/git/git/pull/2500\n>> \n>> setup.c | 2 +-\n>> 1 file changed, 1 insertion(+), 1 deletion(-)\n>> \n>> diff --git a/setup.c b/setup.c\n>> index cedc031c54..140f1926c4 100644\n>> --- a/setup.c\n>> +++ b/setup.c\n>> @@ -268,7 +268,7 @@ static int looks_like_pathspec(const char *arg)\n>>  * diagnosis when dying upon finding that \"name\" is not a pathname.\n>>  * If set to 1, the diagnosis will try to diagnose \"name\" as an\n>>  * invalid object name (e.g. HEAD:foo). If set to 0, the diagnosis\n>> - * will only complain about an inexisting file.\n>> + * will only complain about a non-existing file.\n>>  *\n>>  * This function is typically called to check that a \"file or rev\"\n>>  * argument is unambiguous. In this case, the caller will want\n>> \n>> base-commit: f7de81456940dd6f3274e461149bba12965de609\n>> --\n>> gitgitgadget\n>> \n> \n> \n> -- \n> D. Ben Knoble\n\n\n"},{"id":"559046","messageId":"pull.2500.v2.git.git.1795282436976.gitgitgadget@gmail.com","threadId":"66909","inReplyTo":"pull.2500.git.git.1795279741855.gitgitgadget@gmail.com","subject":"[PATCH v2] setup: fix incorrect word in code comment","fromName":"Ophir Bleicher via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2026-11-21T17:33:56Z","receivedAt":"2026-11-21T17:33:56Z","isPatch":true,"sender":{"key":"name:Ophir Bleicher","avatar":null},"body":"From: Ophir Bleicher <ophirble@gmail.com>\n\nFix an incorrect word problem in line 271 of setup.c:\n\nwill only complain about an inexisting file.\n\nChange it to 'non-existent'.\n\nSigned-off-by: Ophir Bleicher <ophirble@gmail.com>\n---\n    setup: fix incorrect word in code comment\n    \n    Changes since v1:\n    \n     * Update commit message from grammar to incorrect word\n     * Change word to non-existent instead of non-existing\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2500%2FOphirBleicher%2Fsetup-code-typo-v2\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2500/OphirBleicher/setup-code-typo-v2\nPull-Request: https://github.com/git/git/pull/2500\n\nRange-diff vs v1:\n\n 1:  6cc8123ca4 ! 1:  3b7539bd5f setup: fix grammar in code comment\n     @@ Metadata\n      Author: Ophir Bleicher <ophirble@gmail.com>\n      \n       ## Commit message ##\n     -    setup: fix grammar in code comment\n     +    setup: fix incorrect word in code comment\n      \n     -    Fix a grammar problem in line 271 of setup.c:\n     +    Fix an incorrect word problem in line 271 of setup.c:\n      \n          will only complain about an inexisting file.\n      \n     -    Change it to 'non-existing'.\n     +    Change it to 'non-existent'.\n      \n          Signed-off-by: Ophir Bleicher <ophirble@gmail.com>\n      \n\n\n setup.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/setup.c b/setup.c\nindex cedc031c54..140f1926c4 100644\n--- a/setup.c\n+++ b/setup.c\n@@ -268,7 +268,7 @@ static int looks_like_pathspec(const char *arg)\n  * diagnosis when dying upon finding that \"name\" is not a pathname.\n  * If set to 1, the diagnosis will try to diagnose \"name\" as an\n  * invalid object name (e.g. HEAD:foo). If set to 0, the diagnosis\n- * will only complain about an inexisting file.\n+ * will only complain about a non-existing file.\n  *\n  * This function is typically called to check that a \"file or rev\"\n  * argument is unambiguous. In this case, the caller will want\n\nbase-commit: f7de81456940dd6f3274e461149bba12965de609\n-- \ngitgitgadget\n\n"},{"id":"559047","messageId":"pull.2500.v3.git.git.1795282558789.gitgitgadget@gmail.com","threadId":"66909","inReplyTo":"pull.2500.git.git.1795279741855.gitgitgadget@gmail.com","subject":"[PATCH v3] setup: fix incorrect word in code comment","fromName":"Ophir Bleicher via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2026-11-21T17:35:58Z","receivedAt":"2026-11-21T17:35:58Z","isPatch":true,"sender":{"key":"name:Ophir Bleicher","avatar":null},"body":"From: Ophir Bleicher <ophirble@gmail.com>\n\nFix an incorrect word problem in line 271 of setup.c:\n\nwill only complain about an inexisting file.\n\nChange it to 'non-existent'.\n\nSigned-off-by: Ophir Bleicher <ophirble@gmail.com>\n---\n    setup: fix incorrect word in code comment\n    \n    Changes since v1:\n    \n     * Update commit message from grammar to incorrect word\n     * Change word to non-existent instead of non-existing Changes since v2:\n     * Really change word to non-existent instead of non-existing\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2500%2FOphirBleicher%2Fsetup-code-typo-v3\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2500/OphirBleicher/setup-code-typo-v3\nPull-Request: https://github.com/git/git/pull/2500\n\nRange-diff vs v2:\n\n 1:  3b7539bd5f ! 1:  2158470090 setup: fix incorrect word in code comment\n     @@ setup.c: static int looks_like_pathspec(const char *arg)\n        * If set to 1, the diagnosis will try to diagnose \"name\" as an\n        * invalid object name (e.g. HEAD:foo). If set to 0, the diagnosis\n      - * will only complain about an inexisting file.\n     -+ * will only complain about a non-existing file.\n     ++ * will only complain about a non-existent file.\n        *\n        * This function is typically called to check that a \"file or rev\"\n        * argument is unambiguous. In this case, the caller will want\n\n\n setup.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/setup.c b/setup.c\nindex cedc031c54..3aaa1b65b2 100644\n--- a/setup.c\n+++ b/setup.c\n@@ -268,7 +268,7 @@ static int looks_like_pathspec(const char *arg)\n  * diagnosis when dying upon finding that \"name\" is not a pathname.\n  * If set to 1, the diagnosis will try to diagnose \"name\" as an\n  * invalid object name (e.g. HEAD:foo). If set to 0, the diagnosis\n- * will only complain about an inexisting file.\n+ * will only complain about a non-existent file.\n  *\n  * This function is typically called to check that a \"file or rev\"\n  * argument is unambiguous. In this case, the caller will want\n\nbase-commit: f7de81456940dd6f3274e461149bba12965de609\n-- \ngitgitgadget\n\n"},{"id":"559048","messageId":"99FFF51E-E7B7-421C-9868-8D93EFE633FF@gmail.com","threadId":"66909","inReplyTo":"pull.2500.v3.git.git.1795282558789.gitgitgadget@gmail.com","subject":"Re: [PATCH v3] setup: fix incorrect word in code comment","fromName":"Ben Knoble","fromEmail":"ben.knoble@gmail.com","sentAt":"2026-11-21T18:31:12Z","receivedAt":"2026-11-21T18:31:12Z","isPatch":true,"sender":{"key":"ben.knoble@gmail.com","avatar":"https://avatars.githubusercontent.com/u/22802209?v=4"},"body":"\n> Le 21 nov. 2026 à 12:36, Ophir Bleicher via GitGitGadget <gitgitgadget@gmail.com> a écrit :\n> \n> ﻿From: Ophir Bleicher <ophirble@gmail.com>\n> \n> Fix an incorrect word problem in line 271 of setup.c:\n> \n> will only complain about an inexisting file.\n> \n> Change it to 'non-existent'.\n> \n> Signed-off-by: Ophir Bleicher <ophirble@gmail.com>\n> ---\n>    setup: fix incorrect word in code comment\n> \n>    Changes since v1:\n> \n>     * Update commit message from grammar to incorrect word\n>     * Change word to non-existent instead of non-existing Changes since v2:\n>     * Really change word to non-existent instead of non-existing\n\nV3 looks good to me.\n\nSeems like the formatting of the notes ended up a bit strange here,\njust something to note for the future ;)\n\nIn a similar vein, it’s a good idea to double-check things before \nsending them out to confusing readers with lots of slightly-tweaked versions.\n\n> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2500%2FOphirBleicher%2Fsetup-code-typo-v3\n> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2500/OphirBleicher/setup-code-typo-v3\n> Pull-Request: https://github.com/git/git/pull/2500\n> \n> Range-diff vs v2:\n> \n> 1:  3b7539bd5f ! 1:  2158470090 setup: fix incorrect word in code comment\n>     @@ setup.c: static int looks_like_pathspec(const char *arg)\n>        * If set to 1, the diagnosis will try to diagnose \"name\" as an\n>        * invalid object name (e.g. HEAD:foo). If set to 0, the diagnosis\n>      - * will only complain about an inexisting file.\n>     -+ * will only complain about a non-existing file.\n>     ++ * will only complain about a non-existent file.\n>        *\n>        * This function is typically called to check that a \"file or rev\"\n>        * argument is unambiguous. In this case, the caller will want\n> \n> \n> setup.c | 2 +-\n> 1 file changed, 1 insertion(+), 1 deletion(-)\n> \n> diff --git a/setup.c b/setup.c\n> index cedc031c54..3aaa1b65b2 100644\n> --- a/setup.c\n> +++ b/setup.c\n> @@ -268,7 +268,7 @@ static int looks_like_pathspec(const char *arg)\n>  * diagnosis when dying upon finding that \"name\" is not a pathname.\n>  * If set to 1, the diagnosis will try to diagnose \"name\" as an\n>  * invalid object name (e.g. HEAD:foo). If set to 0, the diagnosis\n> - * will only complain about an inexisting file.\n> + * will only complain about a non-existent file.\n>  *\n>  * This function is typically called to check that a \"file or rev\"\n>  * argument is unambiguous. In this case, the caller will want\n> \n> base-commit: f7de81456940dd6f3274e461149bba12965de609\n> --\n> gitgitgadget\n> \n\n"},{"id":"559111","messageId":"xmqqqzgck6k6.fsf@gitster.g","threadId":"66909","inReplyTo":"99FFF51E-E7B7-421C-9868-8D93EFE633FF@gmail.com","subject":"Re: [PATCH v3] setup: fix incorrect word in code comment","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-11-22T19:30:17Z","receivedAt":"2026-11-22T19:30:17Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Ben Knoble <ben.knoble@gmail.com> writes:\n\n>>    Changes since v1:\n>> \n>>     * Update commit message from grammar to incorrect word\n>>     * Change word to non-existent instead of non-existing Changes since v2:\n>>     * Really change word to non-existent instead of non-existing\n>\n> V3 looks good to me.\n\n;-)\n\n> Seems like the formatting of the notes ended up a bit strange here,\n> just something to note for the future ;)\n>\n> In a similar vein, it’s a good idea to double-check things before \n> sending them out to confusing readers with lots of slightly-tweaked versions.\n\nGood suggestion.\n\nWill pick-up, and mark the topic as ready for 'next'.\nThanks for writing and reviewing, both of you.\n\n"}]}