From d10a2ccdb30b048b0719f70eab410f3e9eb2e889 Mon Sep 17 00:00:00 2001 From: Andrew Kahr <22359829+AndrewKahr@users.noreply.github.com> Date: Mon, 27 Mar 2023 19:07:45 -0700 Subject: [PATCH] Reverting changes for #430 as they do not seem to have any effect --- dist/platforms/ubuntu/steps/set_gitcredential.sh | 3 --- dist/platforms/windows/set_gitcredential.ps1 | 3 --- 2 files changed, 6 deletions(-) diff --git a/dist/platforms/ubuntu/steps/set_gitcredential.sh b/dist/platforms/ubuntu/steps/set_gitcredential.sh index 9e24a6f0..a336fc2b 100755 --- a/dist/platforms/ubuntu/steps/set_gitcredential.sh +++ b/dist/platforms/ubuntu/steps/set_gitcredential.sh @@ -14,9 +14,6 @@ else git config --global url."https://ssh:$GIT_PRIVATE_TOKEN@github.com/".insteadOf "ssh://git@github.com/" git config --global url."https://git:$GIT_PRIVATE_TOKEN@github.com/".insteadOf "git@github.com:" - # Enable rewriting urls in lfs based on https://github.com/git-lfs/git-lfs/issues/4173#issuecomment-1367446741 - git config --global lfs.transfer.enablehrefrewrite true - fi echo "---------- git config --list -------------" diff --git a/dist/platforms/windows/set_gitcredential.ps1 b/dist/platforms/windows/set_gitcredential.ps1 index 3ce69341..afb947c6 100644 --- a/dist/platforms/windows/set_gitcredential.ps1 +++ b/dist/platforms/windows/set_gitcredential.ps1 @@ -11,9 +11,6 @@ else { git config --global "url.https://ssh:$env:GIT_PRIVATE_TOKEN@github.com/".insteadOf "ssh://git@github.com/" git config --global "url.https://git:$env:GIT_PRIVATE_TOKEN@github.com/".insteadOf "git@github.com:" - - # Enable rewriting urls in lfs based on https://github.com/git-lfs/git-lfs/issues/4173#issuecomment-1367446741 - git config --global lfs.transfer.enablehrefrewrite true } Write-Host "---------- git config --list -------------"