Skip to content

Commit 1788a2c

Browse files
authored
Fixed typo (bis)
1 parent f418a07 commit 1788a2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitw

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ sparsecheckout() {
1818
if [[ -d "${path}" ]]; then
1919
INFO "Fetching the tip of the branch '${branch}' from ${remote}..."
2020
git -C "${path}" fetch -f --no-tags --depth 1 "${remote}" "+refs/heads/${branch}:refs/remotes/origin/${branch}" |& TRACE
21-
INFO "Checkouting branch ${branch}..."
21+
INFO "Checking out branch ${branch}..."
2222
git -C "${path}" checkout --no-progress -f "$(git -C "${path}" rev-parse "refs/remotes/origin/${branch}")" |& TRACE
2323
else
2424
git init "${path}" |& TRACE
@@ -28,7 +28,7 @@ sparsecheckout() {
2828
git -C "${path}" config --add remote.origin.fetch "+refs/heads/${branch}:refs/remotes/origin/${branch}" |& TRACE
2929
git -C "${path}" config core.sparsecheckout true |& TRACE
3030
git -C "${path}" config advice.detachedHead false |& TRACE
31-
INFO "Checkouting branch ${branch}..."
31+
INFO "Checking out branch ${branch}..."
3232
git -C "${path}" checkout --no-progress -f "$(git -C "${path}" rev-parse "refs/remotes/origin/${branch}")" |& TRACE
3333
fi
3434
}

0 commit comments

Comments
 (0)