Skip to content

Commit f56f9d6

Browse files
algonellttaylorr
authored andcommitted
t: fix typos
Fix typos and grammar in documentation, comments, etc. Via codespell. Reported-by: Kristoffer Haugsbakk <[email protected]> Signed-off-by: Andrew Kreimer <[email protected]> Signed-off-by: Taylor Blau <[email protected]>
1 parent fd37853 commit f56f9d6

26 files changed

+37
-37
lines changed

t/t3431-rebase-fork-point.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ test_rebase 'G F C D B A' --onto D main
7474
test_rebase 'G F C B A' --keep-base refs/heads/main
7575
test_rebase 'G F C B A' --keep-base main
7676

77-
test_expect_success 'git rebase --fork-point with ambigous refname' '
77+
test_expect_success 'git rebase --fork-point with ambiguous refname' '
7878
git checkout main &&
7979
git checkout -b one &&
8080
git checkout side &&

t/t3504-cherry-pick-rerere.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ test_expect_success 'cherry-pick conflict with --rerere-autoupdate' '
4343
git reset --hard bar-dev
4444
'
4545

46-
test_expect_success 'cherry-pick conflict repsects rerere.autoUpdate' '
46+
test_expect_success 'cherry-pick conflict respects rerere.autoUpdate' '
4747
test_config rerere.autoUpdate true &&
4848
test_must_fail git cherry-pick foo..bar-main &&
4949
test_cmp foo-expect foo &&

t/t3920-crlf-messages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ test_crlf_subject_body_and_contents() {
8282

8383

8484
test_expect_success 'Setup refs with commit and tag messages using CRLF' '
85-
test_commit inital &&
85+
test_commit initial &&
8686
create_crlf_refs
8787
'
8888

t/t5303-pack-corruption-resilience.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ TEST_PASSES_SANITIZE_LEAK=true
1515
# 1) blob_2 is a delta with blob_1 for base and blob_3 is a delta with blob2
1616
# for base, such that blob_3 delta depth is 2;
1717
#
18-
# 2) the bulk of object data is uncompressible so the text part remains
18+
# 2) the bulk of object data is incompressible so the text part remains
1919
# visible;
2020
#
2121
# 3) object header is always 2 bytes.

t/t5324-split-commit-graph.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ then
203203
graph_git_behavior 'alternate: commit 13 vs 6' commits/13 origin/commits/6 "fork"
204204
fi
205205

206-
test_expect_success 'test merge stragety constants' '
206+
test_expect_success 'test merge strategy constants' '
207207
git clone . merge-2 &&
208208
(
209209
cd merge-2 &&

t/t5329-pack-objects-cruft.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ test_expect_success 'cruft --local drops unreachable objects' '
690690
test_when_finished "rm -fr alternate repo" &&
691691
692692
test_commit -C alternate base &&
693-
# Pack all objects in alterate so that the cruft repack in "repo" sees
693+
# Pack all objects in alternate so that the cruft repack in "repo" sees
694694
# the object it dropped due to `--local` as packed. Otherwise this
695695
# object would not appear packed anywhere (since it is not packed in
696696
# alternate and likewise not part of the cruft pack in the other repo

t/t5411/test-0034-report-ft.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test_expect_success "setup proc-receive hook (ft, $PROTOCOL)" '
1010
# Refs of upstream : main(A)
1111
# Refs of workbench: main(A) tags/v123
1212
# git push : refs/for/main/topic(B)
13-
test_expect_success "proc-receive: fall throught, let receive-pack to execute ($PROTOCOL)" '
13+
test_expect_success "proc-receive: fall through, let receive-pack to execute ($PROTOCOL)" '
1414
git -C workbench push origin \
1515
$B:refs/for/main/topic \
1616
>out 2>&1 &&

t/t5411/test-0035-report-ft--porcelain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test_expect_success "setup proc-receive hook (fall-through, $PROTOCOL/porcelain)
1010
# Refs of upstream : main(A)
1111
# Refs of workbench: main(A) tags/v123
1212
# git push : refs/for/main/topic(B)
13-
test_expect_success "proc-receive: fall throught, let receive-pack to execute ($PROTOCOL/porcelain)" '
13+
test_expect_success "proc-receive: fall through, let receive-pack to execute ($PROTOCOL/porcelain)" '
1414
git -C workbench push --porcelain origin \
1515
$B:refs/for/main/topic \
1616
>out 2>&1 &&

t/t5500-fetch-pack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ test_expect_success 'in_vain not triggered before first ACK' '
418418
test_grep "remote: Total 3 " log
419419
'
420420

421-
test_expect_success 'in_vain resetted upon ACK' '
421+
test_expect_success 'in_vain reset upon ACK' '
422422
test_when_finished rm -f log trace2 &&
423423
rm -rf myserver myclient &&
424424
git init myserver &&

t/t5528-push-default.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ test_expect_success 'push from/to new branch fails with upstream and simple ' '
147147
# - the default push succeeds
148148
#
149149
# A previous test expected this to fail, but for the wrong reasons:
150-
# it expected a fail becaause the branch is new and cannot be pushed, but
150+
# it expected to fail because the branch is new and cannot be pushed, but
151151
# in fact it was failing because of an ambiguous remote
152152
#
153153
test_expect_failure 'push from/to new branch fails with matching ' '

t/t5531-deep-submodule-push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ test_expect_success 'push recurse-submodules last one wins on command line' '
204204
cd work/gar/bage &&
205205
>recurse-check-on-command-line-overriding-earlier-command-line &&
206206
git add recurse-check-on-command-line-overriding-earlier-command-line &&
207-
git commit -m "Recurse on command-line overridiing earlier command-line junk"
207+
git commit -m "Recurse on command-line overriding earlier command-line junk"
208208
) &&
209209
(
210210
cd work &&

t/t5558-clone-bundle-uri.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ test_expect_success 'creationToken heuristic with failed downloads (clone)' '
945945
--bundle-uri="$HTTPD_URL/bundle-list" \
946946
"$HTTPD_URL/smart/fetch.git" download-3 &&
947947
948-
# As long as we have continguous successful downloads,
948+
# As long as we have contiguous successful downloads,
949949
# we _do_ set these configs.
950950
test_cmp_config -C download-3 "$HTTPD_URL/bundle-list" fetch.bundleuri &&
951951
test_cmp_config -C download-3 3 fetch.bundlecreationtoken &&
@@ -1189,7 +1189,7 @@ test_expect_success 'creationToken heuristic with failed downloads (fetch)' '
11891189
GIT_TRACE2_EVENT="$(pwd)/trace-fetch-3.txt" \
11901190
git -C fetch-3 fetch origin &&
11911191
1192-
# As long as we have continguous successful downloads,
1192+
# As long as we have contiguous successful downloads,
11931193
# we _do_ set the maximum creation token.
11941194
test_cmp_config -C fetch-3 6 fetch.bundlecreationtoken &&
11951195

t/t6200-fmt-merge-msg.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -608,34 +608,34 @@ test_expect_success 'merge-msg with "merging" an annotated tag' '
608608
609609
git checkout main^0 &&
610610
git commit --allow-empty -m "One step ahead" &&
611-
git tag -a -m "An annotated one" annote HEAD &&
611+
git tag -a -m "An annotated one" annotate HEAD &&
612612
613613
git checkout main &&
614-
git fetch . annote &&
614+
git fetch . annotate &&
615615
616616
git fmt-merge-msg <.git/FETCH_HEAD >actual &&
617617
{
618618
cat <<-\EOF
619-
Merge tag '\''annote'\''
619+
Merge tag '\''annotate'\''
620620
621621
An annotated one
622622
623-
* tag '\''annote'\'':
623+
* tag '\''annotate'\'':
624624
One step ahead
625625
EOF
626626
} >expected &&
627627
test_cmp expected actual &&
628628
629629
test_when_finished "git reset --hard" &&
630-
annote=$(git rev-parse annote) &&
631-
git merge --no-commit --no-ff $annote &&
630+
annotate=$(git rev-parse annotate) &&
631+
git merge --no-commit --no-ff $annotate &&
632632
{
633633
cat <<-EOF
634-
Merge tag '\''$annote'\''
634+
Merge tag '\''$annotate'\''
635635
636636
An annotated one
637637
638-
* tag '\''$annote'\'':
638+
* tag '\''$annotate'\'':
639639
One step ahead
640640
EOF
641641
} >expected &&

t/t6300-for-each-ref.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ test_expect_success 'describe:abbrev=... vs describe --abbrev=...' '
770770
refs/heads/master >actual &&
771771
test_cmp expect actual &&
772772
773-
# Make sure the hash used is atleast 14 digits long
773+
# Make sure the hash used is at least 14 digits long
774774
sed -e "s/^.*-g\([0-9a-f]*\)$/\1/" <actual >hexpart &&
775775
test 15 -le $(wc -c <hexpart) &&
776776

t/t6302-for-each-ref-filter.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test_expect_success 'setup some history and refs' '
1414
git checkout -b side &&
1515
test_commit four &&
1616
git tag -m "An annotated tag" annotated-tag &&
17-
git tag -m "Annonated doubly" doubly-annotated-tag annotated-tag &&
17+
git tag -m "Annotated doubly" doubly-annotated-tag annotated-tag &&
1818
1919
# Note that these "signed" tags might not actually be signed.
2020
# Tests which care about the distinction should be marked
@@ -343,7 +343,7 @@ test_expect_success 'check `%(contents:lines=1)`' '
343343
side |four
344344
odd/spot |three
345345
annotated-tag |An annotated tag
346-
doubly-annotated-tag |Annonated doubly
346+
doubly-annotated-tag |Annotated doubly
347347
doubly-signed-tag |Signed doubly
348348
four |four
349349
one |one
@@ -379,7 +379,7 @@ test_expect_success 'check `%(contents:lines=99999)`' '
379379
side |four
380380
odd/spot |three
381381
annotated-tag |An annotated tag
382-
doubly-annotated-tag |Annonated doubly
382+
doubly-annotated-tag |Annotated doubly
383383
doubly-signed-tag |Signed doubly
384384
four |four
385385
one |one

t/t6404-recursive-merge.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ test_expect_success 'result contains a conflict' '
8888
'
8989

9090
test_expect_success 'virtual trees were processed' '
91-
# TODO: fragile test, relies on ambigious merge-base resolution
91+
# TODO: fragile test, relies on ambiguous merge-base resolution
9292
git ls-files --stage >out &&
9393
9494
cat >expect <<-EOF &&

t/t6439-merge-co-error-msgs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Please move or remove them before you merge.
6565
Aborting
6666
EOF
6767

68-
test_expect_success 'untracked files or local changes ovewritten by merge' '
68+
test_expect_success 'untracked files or local changes overwritten by merge' '
6969
git add two &&
7070
git add three &&
7171
git add four &&

t/t7031-verify-tag-signed-ssh.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ test_expect_success GPGSSH,GPGSSH_VERIFYTIME 'verify-tag succeeds with tag date
116116
! grep "${GPGSSH_BAD_SIGNATURE}" actual
117117
'
118118

119-
test_expect_success GPGSSH,GPGSSH_VERIFYTIME 'verify-tag failes with tag date outside of key validity' '
119+
test_expect_success GPGSSH,GPGSSH_VERIFYTIME 'verify-tag fails with tag date outside of key validity' '
120120
test_config gpg.ssh.allowedSignersFile "${GPGSSH_ALLOWED_SIGNERS}" &&
121121
test_must_fail git verify-tag timeboxedinvalid-signed 2>actual &&
122122
! grep "${GPGSSH_GOOD_SIGNATURE_TRUSTED}" actual

t/t7064-wtstatus-pv2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ test_expect_success 'before initial commit, things added (-z)' '
7777
test_cmp expect actual
7878
'
7979

80-
test_expect_success 'make first commit, comfirm HEAD oid and branch' '
80+
test_expect_success 'make first commit, confirm HEAD oid and branch' '
8181
git commit -m initial &&
8282
H0=$(git rev-parse HEAD) &&
8383
cat >expect <<-EOF &&

t/t7413-submodule-is-active.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test_expect_success 'setup' '
2222
git -C super submodule add ../sub sub2 &&
2323
2424
# Remove submodule.<name>.active entries in order to test in an
25-
# environment where only URLs are present in the conifg
25+
# environment where only URLs are present in the config
2626
git -C super config --unset submodule.sub1.active &&
2727
git -C super config --unset submodule.sub2.active &&
2828

t/t7513-interpret-trailers.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ test_expect_success 'using "--where after" with "--no-where"' '
857857
# the hardcoded default (in WHERE_END) assuming the absence of .gitconfig).
858858
# Here, the "start" setting of trailer.where is respected, so the new "Acked-by"
859859
# and "Bug" trailers are placed at the beginning, and not at the end which is
860-
# the harcoded default.
860+
# the hardcoded default.
861861
test_expect_success 'using "--where after" with "--no-where" defaults to configuration' '
862862
test_config trailer.ack.key "Acked-by= " &&
863863
test_config trailer.bug.key "Bug #" &&
@@ -881,7 +881,7 @@ test_expect_success 'using "--where after" with "--no-where" defaults to configu
881881
# immediately after it. For the next trailer (Bug #42), we default to using the
882882
# hardcoded WHERE_END because we don't have any "trailer.where" or
883883
# "trailer.bug.where" configured.
884-
test_expect_success 'using "--no-where" defaults to harcoded default if nothing configured' '
884+
test_expect_success 'using "--no-where" defaults to hardcoded default if nothing configured' '
885885
test_config trailer.ack.key "Acked-by= " &&
886886
test_config trailer.bug.key "Bug #" &&
887887
test_config trailer.separators ":=#" &&

t/t7527-builtin-fsmonitor.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ done
765765
# by the FSMonitor response to skip those recursive calls. That is,
766766
# even if FSMonitor says that the mtime of the submodule directory
767767
# hasn't changed and it could be implicitly marked valid, we must
768-
# not take that shortcut. We need to force the recusion into the
768+
# not take that shortcut. We need to force the recursion into the
769769
# submodule so that we get a summary of the status *within* the
770770
# submodule.
771771

t/t7601-merge-pull-config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ test_expect_success '--rebase overrides pull.ff unset' '
281281
test_does_rebase pull --rebase
282282
'
283283

284-
# Group 4: --no-rebase heeds pull.ff=!only or explict --ff or --no-ff
284+
# Group 4: --no-rebase heeds pull.ff=!only or explicit --ff or --no-ff
285285

286286
test_expect_success '--no-rebase works with --no-ff' '
287287
test_does_merge_when_ff_possible pull --no-rebase --no-ff

t/t7702-repack-cyclic-alternate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test_expect_success setup '
1818
echo "$(pwd)"/.git/objects/../objects >.git/objects/info/alternates
1919
'
2020

21-
test_expect_success 're-packing repository with itsself as alternate' '
21+
test_expect_success 're-packing repository with itself as alternate' '
2222
git repack -adl &&
2323
git fsck
2424
'

t/t8009-blame-vs-topicbranches.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
test_description='blaming trough history with topic branches'
3+
test_description='blaming through history with topic branches'
44

55
TEST_PASSES_SANITIZE_LEAK=true
66
. ./test-lib.sh

t/t9003-help-autocorrect.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ test_expect_success 'autocorrect can be declined altogether' '
6565
test_expect_success 'autocorrect works in work tree created from bare repo' '
6666
git clone --bare . bare.git &&
6767
git -C bare.git worktree add ../worktree &&
68-
git -C worktree -c help.autocorrect=immediate stauts
68+
git -C worktree -c help.autocorrect=immediate status
6969
'
7070

7171
test_done

0 commit comments

Comments
 (0)