Git fork

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>

authored by

Andrew Kreimer and committed by
Taylor Blau
f1eea0b6 15030f95

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