t: fix typos
Fix typos via codespell. Signed-off-by: Andrew Kreimer <algonell@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
897124aa1b
commit
41869f7447
@ -11,7 +11,7 @@ convert_bundle_to_pack () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Check count of objects in a bundle file.
|
# 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`.
|
# command `git-index-pack --fix-thin --stdin`.
|
||||||
test_bundle_object_count () {
|
test_bundle_object_count () {
|
||||||
thin=
|
thin=
|
||||||
|
@ -187,7 +187,7 @@ set_reword_editor () {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi &&
|
fi &&
|
||||||
# There should be no uncommited changes
|
# There should be no uncommitted changes
|
||||||
git diff --exit-code HEAD &&
|
git diff --exit-code HEAD &&
|
||||||
# The todo-list should be re-read after a reword
|
# The todo-list should be re-read after a reword
|
||||||
GIT_SEQUENCE_EDITOR="\"$PWD/reword-sequence-editor.sh\"" \
|
GIT_SEQUENCE_EDITOR="\"$PWD/reword-sequence-editor.sh\"" \
|
||||||
|
@ -6,7 +6,7 @@ run_with_sudo () {
|
|||||||
local RUN="$TEST_DIRECTORY/$$.sh"
|
local RUN="$TEST_DIRECTORY/$$.sh"
|
||||||
write_script "$RUN" "$TEST_SHELL_PATH"
|
write_script "$RUN" "$TEST_SHELL_PATH"
|
||||||
# avoid calling "$RUN" directly so sudo doesn't get a chance to
|
# 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
|
# running the script because its security policy deem it unsafe
|
||||||
sudo "$TEST_SHELL_PATH" -c "\"$RUN\""
|
sudo "$TEST_SHELL_PATH" -c "\"$RUN\""
|
||||||
ret=$?
|
ret=$?
|
||||||
|
@ -74,7 +74,7 @@ test_lazy_prereq UNICODE_NFD_PRESERVED '
|
|||||||
# Yielding: \xcf \x89 + \xcc \x94 + \xcd \x82
|
# Yielding: \xcf \x89 + \xcc \x94 + \xcd \x82
|
||||||
#
|
#
|
||||||
# Note that I've used the canonical ordering of the
|
# 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
|
# swap them. My testing shows that that non-standard
|
||||||
# ordering also causes a collision in mkdir. However,
|
# ordering also causes a collision in mkdir. However,
|
||||||
# the resulting names don't draw correctly on the
|
# the resulting names don't draw correctly on the
|
||||||
|
Reference in New Issue
Block a user