Skip to content

Commit f1eea0b

Browse files
algonellttaylorr
authored andcommitted
t: fix typos
Fix typos in documentation, comments, etc. Via codespell. Signed-off-by: Andrew Kreimer <[email protected]> Signed-off-by: Taylor Blau <[email protected]>
1 parent 15030f9 commit f1eea0b

9 files changed

+14
-14
lines changed

t/t0000-basic.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ test_expect_success 'subtest: tests respect lazy prerequisites' '
684684
write_and_run_sub_test_lib_test lazy-prereqs <<-\EOF &&
685685
686686
test_lazy_prereq LAZY_TRUE true
687-
test_expect_success LAZY_TRUE "lazy prereq is satisifed" "true"
687+
test_expect_success LAZY_TRUE "lazy prereq is satisfied" "true"
688688
test_expect_success !LAZY_TRUE "negative lazy prereq" "false"
689689
690690
test_lazy_prereq LAZY_FALSE false
@@ -695,7 +695,7 @@ test_expect_success 'subtest: tests respect lazy prerequisites' '
695695
EOF
696696
697697
check_sub_test_lib_test lazy-prereqs <<-\EOF
698-
ok 1 - lazy prereq is satisifed
698+
ok 1 - lazy prereq is satisfied
699699
ok 2 # skip negative lazy prereq (missing !LAZY_TRUE)
700700
ok 3 # skip lazy prereq not satisfied (missing LAZY_FALSE)
701701
ok 4 - negative false prereq

t/t0021-conversion.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,11 +1116,11 @@ do
11161116
test_delayed_checkout_progress test_terminal git checkout $opt
11171117
'
11181118

1119-
test_expect_success PERL "delayed checkout ommits progress on non-tty ($mode checkout)" '
1119+
test_expect_success PERL "delayed checkout omits progress on non-tty ($mode checkout)" '
11201120
test_delayed_checkout_progress ! git checkout $opt
11211121
'
11221122

1123-
test_expect_success PERL,TTY "delayed checkout ommits progress with --quiet ($mode checkout)" '
1123+
test_expect_success PERL,TTY "delayed checkout omits progress with --quiet ($mode checkout)" '
11241124
test_delayed_checkout_progress ! test_terminal git checkout --quiet $opt
11251125
'
11261126

t/t0212/parse_events.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
}
205205

206206
# A series of potentially nested and threaded region and data events
207-
# is fundamentally incompatibile with the type of summary record we
207+
# is fundamentally incompatible with the type of summary record we
208208
# are building in this script. Since they are intended for
209209
# perf-trace-like analysis rather than a result summary, we ignore
210210
# most of them here.

t/t0600-reffiles-backend.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ test_expect_success 'setup worktree' '
271271
# Some refs (refs/bisect/*, pseudorefs) are kept per worktree, so they should
272272
# only appear in the for-each-reflog output if it is called from the correct
273273
# worktree, which is exercised in this test. This test is poorly written for
274-
# mulitple reasons: 1) it creates invalidly formatted log entres. 2) it uses
274+
# multiple reasons: 1) it creates invalidly formatted log entries. 2) it uses
275275
# direct FS access for creating the reflogs. 3) PSEUDO-WT and refs/bisect/random
276276
# do not create reflogs by default, so it is not testing a realistic scenario.
277277
test_expect_success 'for_each_reflog()' '

t/t1016-compatObjectFormat.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ do
117117
git config extensions.objectformat $hash &&
118118
git config extensions.compatobjectformat $(compat_hash $hash) &&
119119
git config gpg.program $TEST_DIRECTORY/t1016/gpg &&
120-
echo "Hellow World!" > hello &&
120+
echo "Hello World!" > hello &&
121121
eval hello_${hash}_oid=$(git hash-object hello) &&
122122
git update-index --add hello &&
123123
git commit -m "Initial commit" &&

t/t1092-sparse-checkout-compatibility.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ test_expect_success 'reset with wildcard pathspec' '
708708
test_all_match git ls-files -s -- deep &&
709709
710710
# The following `git reset`s result in updating the index on files with
711-
# `skip-worktree` enabled. To avoid failing due to discrepencies in reported
711+
# `skip-worktree` enabled. To avoid failing due to discrepancies in reported
712712
# "modified" files, `test_sparse_match` reset is performed separately from
713713
# "full-checkout" reset, then the index contents of all repos are verified.
714714
@@ -824,7 +824,7 @@ test_expect_success 'update-index --remove outside sparse definition' '
824824
# Reset the state
825825
test_all_match git reset --hard &&
826826
827-
# --force-remove supercedes --ignore-skip-worktree-entries, removing
827+
# --force-remove supersedes --ignore-skip-worktree-entries, removing
828828
# a skip-worktree file from the index (and disk) when both are specified
829829
# with --remove
830830
test_sparse_match git update-index --force-remove --ignore-skip-worktree-entries folder1/a &&
@@ -2081,7 +2081,7 @@ test_expect_success 'grep is not expanded' '
20812081
test_expect_failure 'grep within submodules is not expanded' '
20822082
init_repos_as_submodules &&
20832083
2084-
# do not use ensure_not_expanded() here, becasue `grep` should be
2084+
# do not use ensure_not_expanded() here, because `grep` should be
20852085
# run in the superproject, not in "./sparse-index"
20862086
GIT_TRACE2_EVENT="$(pwd)/trace2.txt" \
20872087
git grep --cached --recurse-submodules a -- "*/folder1/*" &&

t/t1400-update-ref.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,10 +1838,10 @@ do
18381838

18391839
test_expect_success "stdin $type create dangling symref ref works" '
18401840
test_when_finished "git symbolic-ref -d refs/heads/symref" &&
1841-
format_command $type "symref-create refs/heads/symref" "refs/heads/unkown" >stdin &&
1841+
format_command $type "symref-create refs/heads/symref" "refs/heads/unknown" >stdin &&
18421842
git update-ref --stdin $type --no-deref <stdin &&
18431843
git symbolic-ref refs/heads/symref >expect &&
1844-
echo refs/heads/unkown >actual &&
1844+
echo refs/heads/unknown >actual &&
18451845
test_cmp expect actual
18461846
'
18471847

t/t1506-rev-parse-diagnosis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ test_expect_success 'dotdot is not an empty set' '
195195
'
196196

197197
test_expect_success 'dotdot does not peel endpoints' '
198-
git tag -a -m "annote" annotated HEAD &&
198+
git tag -a -m "annotate" annotated HEAD &&
199199
A=$(git rev-parse annotated) &&
200200
H=$(git rev-parse annotated^0) &&
201201
{

t/t2082-parallel-checkout-attributes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ test_expect_success 'parallel-checkout with eol conversions' '
9191

9292
# Entries that require an external filter are not eligible for parallel
9393
# checkout. Check that both the parallel-eligible and non-eligible entries are
94-
# properly writen in a single checkout operation.
94+
# properly written in a single checkout operation.
9595
#
9696
test_expect_success 'parallel-checkout and external filter' '
9797
set_checkout_config 2 0 &&

0 commit comments

Comments
 (0)