aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/submodule--helper.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-01-16 12:07:47 -0800
committerJunio C Hamano <gitster@pobox.com>2023-01-16 12:07:47 -0800
commit3ed618f28fc14d38cebe9167b0beece519e7ef80 (patch)
tree42f71697e54db899f53a77f68e573201afd3f4ed /builtin/submodule--helper.c
parentffd923868574a004ec20a80dbc3b813da9a93b08 (diff)
parentb39a84185e79cff69f9f1f79f1edb014ef27b9c6 (diff)
downloadgit-3ed618f28fc14d38cebe9167b0beece519e7ef80.tar.gz
Merge branch 'ar/dup-words-fixes'
Typofixes. * ar/dup-words-fixes: *: fix typos which duplicate a word
Diffstat (limited to 'builtin/submodule--helper.c')
-rw-r--r--builtin/submodule--helper.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
index 450680fc70..4c173d8b37 100644
--- a/builtin/submodule--helper.c
+++ b/builtin/submodule--helper.c
@@ -3219,9 +3219,8 @@ static void die_on_index_match(const char *path, int force)
ensure_full_index(&the_index);
/*
- * Since there is only one pathspec, we just need
- * need to check ps_matched[0] to know if a cache
- * entry matched.
+ * Since there is only one pathspec, we just need to
+ * check ps_matched[0] to know if a cache entry matched.
*/
for (i = 0; i < the_index.cache_nr; i++) {
ce_path_match(&the_index, the_index.cache[i], &ps,