t: fix typos
Fix typos via codespell. Signed-off-by: Andrew Kreimer <algonell@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Andrew Kreimer committed
Oct 10, 2024 at 18:11 UTC
41869f7447a5b9e904aaa9aa5b77e7ce49b7292a
4 files changed
+4
-4
t/lib-bundle.sh
+1
-1
@@ -11,7 +11,7 @@ convert_bundle_to_pack () {
11
}
12
13
# Check count of objects in a bundle file.
14
-# We can use "--thin" opiton to check thin pack, which must be fixed by
14
+# We can use "--thin" option to check thin pack, which must be fixed by
15
# command `git-index-pack --fix-thin --stdin`.
16
test_bundle_object_count () {
17
thin=
t/lib-rebase.sh
+1
-1
@@ -187,7 +187,7 @@ set_reword_editor () {
187
exit 1
188
fi
189
fi &&
190
- # There should be no uncommited changes
190
+ # There should be no uncommitted changes
191
git diff --exit-code HEAD &&
192
# The todo-list should be re-read after a reword
193
GIT_SEQUENCE_EDITOR="\"$PWD/reword-sequence-editor.sh\"" \
t/lib-sudo.sh
+1
-1
@@ -6,7 +6,7 @@ run_with_sudo () {
6
local RUN="$TEST_DIRECTORY/$$.sh"
7
write_script "$RUN" "$TEST_SHELL_PATH"
8
# avoid calling "$RUN" directly so sudo doesn't get a chance to
9
- # override the shell, add aditional restrictions or even reject
9
+ # override the shell, add additional restrictions or even reject
10
# running the script because its security policy deem it unsafe
11
sudo "$TEST_SHELL_PATH" -c "\"$RUN\""
12
ret=$?
t/lib-unicode-nfc-nfd.sh
+1
-1
@@ -74,7 +74,7 @@ test_lazy_prereq UNICODE_NFD_PRESERVED '
74
# Yielding: \xcf \x89 + \xcc \x94 + \xcd \x82
75
#
76
# Note that I've used the canonical ordering of the
77
-# combinining characters. It is also possible to
77
+# combining characters. It is also possible to
78
# swap them. My testing shows that that non-standard
79
# ordering also causes a collision in mkdir. However,
80
# the resulting names don't draw correctly on the