File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ sparsecheckout() {
18
18
if [[ -d " ${path} " ]]; then
19
19
INFO " Fetching the tip of the branch '${branch} ' from ${remote} ..."
20
20
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} ..."
22
22
git -C " ${path} " checkout --no-progress -f " $( git -C " ${path} " rev-parse " refs/remotes/origin/${branch} " ) " | & TRACE
23
23
else
24
24
git init " ${path} " | & TRACE
@@ -28,7 +28,7 @@ sparsecheckout() {
28
28
git -C " ${path} " config --add remote.origin.fetch " +refs/heads/${branch} :refs/remotes/origin/${branch} " | & TRACE
29
29
git -C " ${path} " config core.sparsecheckout true | & TRACE
30
30
git -C " ${path} " config advice.detachedHead false | & TRACE
31
- INFO " Checkouting branch ${branch} ..."
31
+ INFO " Checking out branch ${branch} ..."
32
32
git -C " ${path} " checkout --no-progress -f " $( git -C " ${path} " rev-parse " refs/remotes/origin/${branch} " ) " | & TRACE
33
33
fi
34
34
}
You can’t perform that action at this time.
0 commit comments