@@ -708,7 +708,7 @@ test_expect_success 'reset with wildcard pathspec' '
708708 test_all_match git ls-files -s -- deep &&
709709
710710 # The following `git reset`s result in updating the index on files with
711- # `skip-worktree` enabled. To avoid failing due to discrepencies in reported
711+ # `skip-worktree` enabled. To avoid failing due to discrepancies in reported
712712 # "modified" files, `test_sparse_match` reset is performed separately from
713713 # "full-checkout" reset, then the index contents of all repos are verified.
714714
@@ -824,7 +824,7 @@ test_expect_success 'update-index --remove outside sparse definition' '
824824 # Reset the state
825825 test_all_match git reset --hard &&
826826
827- # --force-remove supercedes --ignore-skip-worktree-entries, removing
827+ # --force-remove supersedes --ignore-skip-worktree-entries, removing
828828 # a skip-worktree file from the index (and disk) when both are specified
829829 # with --remove
830830 test_sparse_match git update-index --force-remove --ignore-skip-worktree-entries folder1/a &&
@@ -2081,7 +2081,7 @@ test_expect_success 'grep is not expanded' '
20812081test_expect_failure ' grep within submodules is not expanded' '
20822082 init_repos_as_submodules &&
20832083
2084- # do not use ensure_not_expanded() here, becasue `grep` should be
2084+ # do not use ensure_not_expanded() here, because `grep` should be
20852085 # run in the superproject, not in "./sparse-index"
20862086 GIT_TRACE2_EVENT="$(pwd)/trace2.txt" \
20872087 git grep --cached --recurse-submodules a -- "*/folder1/*" &&
0 commit comments