From 8226c37bf43390a82ffc25eac87f1f441a77070e Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 7 Jul 2020 08:56:57 +0200 Subject: [PATCH] Install Git for Windows with symbolic links enabled (#1186) We only offer Windows environments that support symbolic links, meaning: if running either as administrator, or with Windows' Developer Mode enabled, symbolic links can be created. However, Git for Windows' auto-detection assumes that if it is installed by an administrator, it cannot detect whether "regular" users can create symbolic links, and by way of playing it safe, disables symlink support. Since we know better, we can avoid the auto-detection. --- images/win/scripts/Installers/Install-Git.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/images/win/scripts/Installers/Install-Git.ps1 b/images/win/scripts/Installers/Install-Git.ps1 index c1ec436018e4..460a2a1ba504 100644 --- a/images/win/scripts/Installers/Install-Git.ps1 +++ b/images/win/scripts/Installers/Install-Git.ps1 @@ -30,6 +30,7 @@ Install-Binary -Url $downloadUrl ` "/RESTARTAPPLICATIONS", ` "/o:PathOption=CmdTools", ` "/o:BashTerminalOption=ConHost", ` + "/o:EnableSymlinks=Enabled", ` "/COMPONENTS=gitlfs") Choco-Install -PackageName hub