From: Ophir Bleicher via GitGitGadget Date: Sat, 21 Nov 2026 17:35:58 GMT Subject: [PATCH v3] setup: fix incorrect word in code comment Message-ID: In-Reply-To: From: Ophir Bleicher Fix an incorrect word problem in line 271 of setup.c: will only complain about an inexisting file. Change it to 'non-existent'. Signed-off-by: Ophir Bleicher --- setup: fix incorrect word in code comment Changes since v1: * Update commit message from grammar to incorrect word * Change word to non-existent instead of non-existing Changes since v2: * Really change word to non-existent instead of non-existing Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2500%2FOphirBleicher%2Fsetup-code-typo-v3 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2500/OphirBleicher/setup-code-typo-v3 Pull-Request: https://github.com/git/git/pull/2500 Range-diff vs v2: 1: 3b7539bd5f ! 1: 2158470090 setup: fix incorrect word in code comment @@ setup.c: static int looks_like_pathspec(const char *arg) * 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. ++ * will only complain about a non-existent file. * * This function is typically called to check that a "file or rev" * argument is unambiguous. In this case, the caller will want setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.c b/setup.c index cedc031c54..3aaa1b65b2 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-existent 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