t: fix typos

Fix typos in documentation, comments, etc. Via codespell. Signed-off-by: Andrew Kreimer <algonell@gmail.com> Signed-off-by: Taylor Blau <me@ttaylorr.com>

Andrew Kreimer committed Oct 17, 2024 at 14:28 UTC f1eea0b620b07a51d5455558c807713ef0ba7609
9 files changed +14 -14
t/t0000-basic.sh
+2 -2
@@ -684,7 +684,7 @@ test_expect_success 'subtest: tests respect lazy prerequisites' '
684 write_and_run_sub_test_lib_test lazy-prereqs <<-\EOF &&
685
686 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"
688 test_expect_success !LAZY_TRUE "negative lazy prereq" "false"
689
690 test_lazy_prereq LAZY_FALSE false
@@ -695,7 +695,7 @@ test_expect_success 'subtest: tests respect lazy prerequisites' '
695 EOF
696
697 check_sub_test_lib_test lazy-prereqs <<-\EOF
698 - ok 1 - lazy prereq is satisifed
698 + ok 1 - lazy prereq is satisfied
699 ok 2 # skip negative lazy prereq (missing !LAZY_TRUE)
700 ok 3 # skip lazy prereq not satisfied (missing LAZY_FALSE)
701 ok 4 - negative false prereq
t/t0021-conversion.sh
+2 -2
@@ -1116,11 +1116,11 @@ do
1116 test_delayed_checkout_progress test_terminal git checkout $opt
1117 '
1118
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)" '
1120 test_delayed_checkout_progress ! git checkout $opt
1121 '
1122
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)" '
1124 test_delayed_checkout_progress ! test_terminal git checkout --quiet $opt
1125 '
1126
t/t0212/parse_events.perl
+1 -1
@@ -204,7 +204,7 @@ while (<>) {
204 }
205
206 # 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
208 # are building in this script. Since they are intended for
209 # perf-trace-like analysis rather than a result summary, we ignore
210 # most of them here.
t/t0600-reffiles-backend.sh
+1 -1
@@ -271,7 +271,7 @@ test_expect_success 'setup worktree' '
271 # Some refs (refs/bisect/*, pseudorefs) are kept per worktree, so they should
272 # only appear in the for-each-reflog output if it is called from the correct
273 # 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
275 # direct FS access for creating the reflogs. 3) PSEUDO-WT and refs/bisect/random
276 # do not create reflogs by default, so it is not testing a realistic scenario.
277 test_expect_success 'for_each_reflog()' '
t/t1016-compatObjectFormat.sh
+1 -1
@@ -117,7 +117,7 @@ do
117 git config extensions.objectformat $hash &&
118 git config extensions.compatobjectformat $(compat_hash $hash) &&
119 git config gpg.program $TEST_DIRECTORY/t1016/gpg &&
120 - echo "Hellow World!" > hello &&
120 + echo "Hello World!" > hello &&
121 eval hello_${hash}_oid=$(git hash-object hello) &&
122 git update-index --add hello &&
123 git commit -m "Initial commit" &&
t/t1092-sparse-checkout-compatibility.sh
+3 -3
@@ -708,7 +708,7 @@ test_expect_success 'reset with wildcard pathspec' '
708 test_all_match git ls-files -s -- deep &&
709
710 # 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
712 # "modified" files, `test_sparse_match` reset is performed separately from
713 # "full-checkout" reset, then the index contents of all repos are verified.
714
@@ -824,7 +824,7 @@ test_expect_success 'update-index --remove outside sparse definition' '
824 # Reset the state
825 test_all_match git reset --hard &&
826
827 - # --force-remove supercedes --ignore-skip-worktree-entries, removing
827 + # --force-remove supersedes --ignore-skip-worktree-entries, removing
828 # a skip-worktree file from the index (and disk) when both are specified
829 # with --remove
830 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' '
2081 test_expect_failure 'grep within submodules is not expanded' '
2082 init_repos_as_submodules &&
2083
2084 - # do not use ensure_not_expanded() here, becasue `grep` should be
2084 + # do not use ensure_not_expanded() here, because `grep` should be
2085 # run in the superproject, not in "./sparse-index"
2086 GIT_TRACE2_EVENT="$(pwd)/trace2.txt" \
2087 git grep --cached --recurse-submodules a -- "*/folder1/*" &&
t/t1400-update-ref.sh
+2 -2
@@ -1838,10 +1838,10 @@ do
1838
1839 test_expect_success "stdin $type create dangling symref ref works" '
1840 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 &&
1842 git update-ref --stdin $type --no-deref <stdin &&
1843 git symbolic-ref refs/heads/symref >expect &&
1844 - echo refs/heads/unkown >actual &&
1844 + echo refs/heads/unknown >actual &&
1845 test_cmp expect actual
1846 '
1847
t/t1506-rev-parse-diagnosis.sh
+1 -1
@@ -195,7 +195,7 @@ test_expect_success 'dotdot is not an empty set' '
195 '
196
197 test_expect_success 'dotdot does not peel endpoints' '
198 - git tag -a -m "annote" annotated HEAD &&
198 + git tag -a -m "annotate" annotated HEAD &&
199 A=$(git rev-parse annotated) &&
200 H=$(git rev-parse annotated^0) &&
201 {
t/t2082-parallel-checkout-attributes.sh
+1 -1
@@ -91,7 +91,7 @@ test_expect_success 'parallel-checkout with eol conversions' '
91
92 # Entries that require an external filter are not eligible for parallel
93 # 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.
95 #
96 test_expect_success 'parallel-checkout and external filter' '
97 set_checkout_config 2 0 &&