]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t: fix typos
authorAndrew Kreimer <algonell@gmail.com>
Thu, 10 Oct 2024 15:11:22 +0000 (18:11 +0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Oct 2024 20:31:14 +0000 (13:31 -0700)
Fix typos via codespell.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-bundle.sh
t/lib-rebase.sh
t/lib-sudo.sh
t/lib-unicode-nfc-nfd.sh

index cf7ed818b246ac314af875bc42ad74e4ae661fd5..62b7bb13c81d34eaa2eeb49c82abcb2d5f9c859a 100644 (file)
@@ -11,7 +11,7 @@ convert_bundle_to_pack () {
 }
 
 # Check count of objects in a bundle file.
-# We can use "--thin" opiton to check thin pack, which must be fixed by
+# We can use "--thin" option to check thin pack, which must be fixed by
 # command `git-index-pack --fix-thin --stdin`.
 test_bundle_object_count () {
        thin=
index 11d2dc9fe341b61d22c467ea8ae6a9d13ff1ac18..0dd764310dbed137995cbfc4cd535b158c54d159 100644 (file)
@@ -187,7 +187,7 @@ set_reword_editor () {
                        exit 1
                fi
        fi &&
-       # There should be no uncommited changes
+       # There should be no uncommitted changes
        git diff --exit-code HEAD &&
        # The todo-list should be re-read after a reword
        GIT_SEQUENCE_EDITOR="\"$PWD/reword-sequence-editor.sh\"" \
index b4d7788f4e5924199b6ba063ed07c583d550b52c..477e0fdc049f4240dd6ee5d07471bc6ab6ebeedf 100644 (file)
@@ -6,7 +6,7 @@ run_with_sudo () {
        local RUN="$TEST_DIRECTORY/$$.sh"
        write_script "$RUN" "$TEST_SHELL_PATH"
        # avoid calling "$RUN" directly so sudo doesn't get a chance to
-       # override the shell, add aditional restrictions or even reject
+       # override the shell, add additional restrictions or even reject
        # running the script because its security policy deem it unsafe
        sudo "$TEST_SHELL_PATH" -c "\"$RUN\""
        ret=$?
index 22232247efc34d28804311f44ead4661b9ad2afd..aed0a4dd44af1ce19fe7dfdb9527fe735267c12a 100755 (executable)
@@ -74,7 +74,7 @@ test_lazy_prereq UNICODE_NFD_PRESERVED '
 # Yielding:   \xcf \x89  +  \xcc \x94  +  \xcd \x82
 #
 # Note that I've used the canonical ordering of the
-# combinining characters.  It is also possible to
+# combining characters.  It is also possible to
 # swap them.  My testing shows that that non-standard
 # ordering also causes a collision in mkdir.  However,
 # the resulting names don't draw correctly on the