File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ foreach ($Line in Get-Content $PSScriptRoot\..\.gitmodules) {
29
29
$Match = Select-String - InputObject $Line - Pattern $BranchRegex
30
30
$Branch = $Match.Matches [0 ].Groups[1 ].Value
31
31
32
- Write-Host " git clone $URL $Path -b $Branch --recursive" `
32
+ Write-Host " git clone --filter=blob:none $URL $Path -b $Branch --recursive" `
33
33
- ForegroundColor Blue
34
- git clone $URL $PSScriptRoot / ../ $Path - b $Branch -- recursive
34
+ git clone -- filter = blob:none $URL $PSScriptRoot / ../ $Path - b $Branch -- recursive
35
35
}
36
36
}
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ while true; do
12
12
url=$3
13
13
read line; set -- $line
14
14
branch=$3
15
- git clone $url $path -b $branch --recursive
15
+ git clone --filter=blob:none $url $path -b $branch --recursive
16
16
done
You can’t perform that action at this time.
0 commit comments