Skip to content

Commit

Permalink
Fixup! add info message about sparse-checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
o-orand committed Sep 11, 2023
1 parent 98f6696 commit 4b33389
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/check
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ else
fi

if [ "$sparse_checkout" == "true" ];then
echo "Sparse checkout enabled for $sparse_paths"
git clone --single-branch --no-checkout --filter=tree:0 $uri $branchflag ${destination} $tagflag
# git clone --single-branch --no-checkout --filter=blob:none $uri $branchflag ${destination} $tagflag
git sparse-checkout init --cone
Expand Down
1 change: 1 addition & 0 deletions assets/in
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ fi

if [ "$sparse_checkout" == "true" ];then
# mkdir ${destination};
echo "Sparse checkout enabled for $sparse_paths"
git clone --single-branch --no-checkout --filter=tree:0 $depthflag $uri $branchflag ${destination} $tagflag
# git clone --single-branch --no-checkout --filter=blob:none $depthflag $uri $branchflag ${destination} $tagflag
git sparse-checkout init --cone
Expand Down

0 comments on commit 4b33389

Please sign in to comment.