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.
This commit is contained in:
Johannes Schindelin
2020-07-07 08:56:57 +02:00
committed by GitHub
parent 234a7df001
commit 8226c37bf4

View File

@@ -30,6 +30,7 @@ Install-Binary -Url $downloadUrl `
"/RESTARTAPPLICATIONS", `
"/o:PathOption=CmdTools", `
"/o:BashTerminalOption=ConHost", `
"/o:EnableSymlinks=Enabled", `
"/COMPONENTS=gitlfs")
Choco-Install -PackageName hub