Skip to content

Commit d5fb838

Browse files
committed
Add core longpaths configuration to git clone command
1 parent 9e06aa9 commit d5fb838

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎install.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ $extractedDir = Join-Path $tmpDir "source"
172172

173173
$spinner = Start-Spinner "Cloning repository..."
174174
$ErrorActionPreference = "Continue"
175-
git clone --quiet https://github.com/robertpiosik/CodeWebChat.git $extractedDir *>$null
175+
git clone -c core.longpaths=true --quiet https://github.com/robertpiosik/CodeWebChat.git $extractedDir *>$null
176176
$cmdSuccess = $?
177177
$ErrorActionPreference = "Stop"
178178
Stop-Spinner $spinner $cmdSuccess

‎install.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ echo ""
159159
printf " Cloning repository..."
160160
start_spinner &
161161
SPINNER_PID=$!
162-
if ! git clone --quiet https://github.com/robertpiosik/CodeWebChat.git "$TMP_DIR/source" > /dev/null 2>&1; then
162+
if ! git clone -c core.longpaths=true --quiet https://github.com/robertpiosik/CodeWebChat.git "$TMP_DIR/source" > /dev/null 2>&1; then
163163
stop_spinner $SPINNER_PID 1
164164
exit 1
165165
fi

0 commit comments

Comments
 (0)