Skip to content

Commit f5deddd

Browse files
algonellgitster
authored andcommitted
contrib: fix typos
Fix typos via codespell. Signed-off-by: Andrew Kreimer <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 54ee29c commit f5deddd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

contrib/completion/git-completion.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3296,7 +3296,7 @@ __gitcomp_directories ()
32963296
# i.e. which are *already* part of their
32973297
# sparse-checkout. Thus, normal file and directory
32983298
# completion is always useless for "git
3299-
# sparse-checkout add" and is also probelmatic for
3299+
# sparse-checkout add" and is also problematic for
33003300
# "git sparse-checkout set" unless using it to
33013301
# strictly narrow the checkout.
33023302
COMPREPLY=( "" )
@@ -3698,7 +3698,7 @@ _git_worktree ()
36983698
# Here we are not completing an --option, it's either the
36993699
# path or a ref.
37003700
case "$prev" in
3701-
-b|-B) # Complete refs for branch to be created/reseted.
3701+
-b|-B) # Complete refs for branch to be created/reset.
37023702
__git_complete_refs
37033703
;;
37043704
-*) # The previous word is an -o|--option without an

contrib/subtree/git-subtree.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ cmd_split () {
946946
rev=$(git rev-parse -q --verify "$1^{commit}") ||
947947
die "fatal: '$1' does not refer to a commit"
948948
else
949-
die "fatal: you must provide exactly one revision, and optionnally a repository. Got: '$*'"
949+
die "fatal: you must provide exactly one revision, and optionally a repository. Got: '$*'"
950950
fi
951951
repository=""
952952
if test "$#" = 2

contrib/subtree/t/t7900-subtree.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ last_commit_subject () {
4747
# pre-2.32.0 versions of 'git subtree' would write the hash of the tag
4848
# (sub1 below), instead of the commit (sub1^{commit}) in the
4949
# "git-subtree-split" trailer.
50-
# We immitate this behaviour below using a replace ref.
50+
# We imitate this behaviour below using a replace ref.
5151
# This function creates 3 repositories:
5252
# - $1
5353
# - $1-sub (added as subtree "sub" in $1)

0 commit comments

Comments
 (0)