Skip to content

Commit 3ed618f

Browse files
committed
Merge branch 'ar/dup-words-fixes'
Typofixes. * ar/dup-words-fixes: *: fix typos which duplicate a word
2 parents ffd9238 + b39a841 commit 3ed618f

File tree

9 files changed

+14
-15
lines changed

9 files changed

+14
-15
lines changed

Documentation/gitprotocol-v2.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ headers and their prerequisite relationships, or something else.
665665
+
666666
Server operators should feel confident in turning on "bundle-uri" and
667667
not worry if e.g. their CDN goes down that clones or fetches will run
668-
into hard failures. Even if the server bundle bundle(s) are
668+
into hard failures. Even if the server bundle(s) are
669669
incomplete, or bad in some way the client should still end up with a
670670
functioning repository, just as if it had chosen not to use this
671671
protocol extension.

builtin/checkout.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ static int parse_branchname_arg(int argc, const char **argv,
12701270
* between A and B, A...B names that merge base.
12711271
*
12721272
* (b) If <something> is _not_ a commit, either "--" is present
1273-
* or <something> is not a path, no -t or -b was given, and
1273+
* or <something> is not a path, no -t or -b was given,
12741274
* and there is a tracking branch whose name is <something>
12751275
* in one and only one remote (or if the branch exists on the
12761276
* remote named in checkout.defaultRemote), then this is a

builtin/submodule--helper.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3219,9 +3219,8 @@ static void die_on_index_match(const char *path, int force)
32193219
ensure_full_index(&the_index);
32203220

32213221
/*
3222-
* Since there is only one pathspec, we just need
3223-
* need to check ps_matched[0] to know if a cache
3224-
* entry matched.
3222+
* Since there is only one pathspec, we just need to
3223+
* check ps_matched[0] to know if a cache entry matched.
32253224
*/
32263225
for (i = 0; i < the_index.cache_nr; i++) {
32273226
ce_path_match(&the_index, the_index.cache[i], &ps,

cache-tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ static int update_one(struct cache_tree *it,
405405
}
406406

407407
/*
408-
* CE_INTENT_TO_ADD entries exist on on-disk index but
408+
* CE_INTENT_TO_ADD entries exist in on-disk index but
409409
* they are not part of generated trees. Invalidate up
410410
* to root to force cache-tree users to read elsewhere.
411411
*/

config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3154,7 +3154,7 @@ int git_config_set_gently(const char *key, const char *value)
31543154
int repo_config_set_worktree_gently(struct repository *r,
31553155
const char *key, const char *value)
31563156
{
3157-
/* Only use worktree-specific config if it is is already enabled. */
3157+
/* Only use worktree-specific config if it is already enabled. */
31583158
if (repository_format_worktree_config) {
31593159
char *file = repo_git_path(r, "config.worktree");
31603160
int ret = git_config_set_multivar_in_file_gently(

run-command.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1853,7 +1853,7 @@ enum start_bg_result start_bg_command(struct child_process *cmd,
18531853
*
18541854
* We also assume that `start_command()` does not add
18551855
* us to the cleanup list. And that it calls
1856-
* calls `child_process_clear()`.
1856+
* `child_process_clear()`.
18571857
*/
18581858
sbgr = SBGR_ERROR;
18591859
goto done;

t/t4301-merge-tree-write-tree.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ test_expect_success 'test conflict notices and such' '
141141
# Commit O: foo, olddir/{a,b,c}
142142
# Commit A: modify foo, newdir/{a,b,c}
143143
# Commit B: modify foo differently & rename foo -> olddir/bar
144-
# Expected: CONFLICT(content) for for newdir/bar (not olddir/bar or foo)
144+
# Expected: CONFLICT(content) for newdir/bar (not olddir/bar or foo)
145145

146146
test_expect_success 'directory rename + content conflict' '
147147
# Setup
@@ -653,7 +653,7 @@ test_expect_success 'mod6: chains of rename/rename(1to2) and add/add via collidi
653653
# Commit O: foo, olddir/{a,b,c}
654654
# Commit A: delete foo, rename olddir/ -> newdir/, add newdir/bar/file
655655
# Commit B: modify foo & rename foo -> olddir/bar
656-
# Expected: CONFLICT(content) for for newdir/bar (not olddir/bar or foo)
656+
# Expected: CONFLICT(content) for newdir/bar (not olddir/bar or foo)
657657

658658
test_expect_success 'directory rename + rename/delete + modify/delete + directory/file conflict' '
659659
# Setup

t/t6421-merge-partial-clone.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ test_setup_repo () {
155155
# Commit A:
156156
# (Rename leap->jump, rename basename/ -> basename/subdir/, rename dir/
157157
# -> folder/, move e into newsubdir, add newfile.rs, remove f, modify
158-
# both both Makefiles and jumps)
158+
# both Makefiles and jumps)
159159
# general/{jump1_A, jump2_A}
160160
# basename/subdir/{numbers_A, sequence_A, values_A}
161161
# folder/subdir/{a,b,c,d,Makefile_TOP_A}
@@ -343,7 +343,7 @@ test_expect_merge_algorithm failure success 'Objects downloaded when a directory
343343
# Commit A:
344344
# (Rename leap->jump, rename basename/ -> basename/subdir/, rename dir/
345345
# -> folder/, move e into newsubdir, add newfile.rs, remove f, modify
346-
# both both Makefiles and jumps)
346+
# both Makefiles and jumps)
347347
# general/{jump1_A, jump2_A}
348348
# basename/subdir/{numbers_A, sequence_A, values_A}
349349
# folder/subdir/{a,b,c,d,Makefile_TOP_A}

t/t7527-builtin-fsmonitor.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ test_expect_success "submodule absorbgitdirs implicitly starts daemon" '
904904

905905
# On a case-insensitive file system, confirm that the daemon
906906
# notices when the .git directory is moved/renamed/deleted
907-
# regardless of how it is spelled in the the FS event.
907+
# regardless of how it is spelled in the FS event.
908908
# That is, does the FS event receive the spelling of the
909909
# operation or does it receive the spelling preserved with
910910
# the file/directory.
@@ -922,8 +922,8 @@ test_expect_success CASE_INSENSITIVE_FS 'case insensitive+preserving' '
922922
test_path_is_dir test_insensitive/.git &&
923923
test_path_is_dir test_insensitive/.GIT &&
924924
925-
# Rename .git using an alternate spelling to verify that that
926-
# daemon detects it and automatically shuts down.
925+
# Rename .git using an alternate spelling to verify that
926+
# the daemon detects it and automatically shuts down.
927927
mv test_insensitive/.GIT test_insensitive/.FOO &&
928928
929929
# See [1] above.

0 commit comments

Comments
 (0)