Skip to content

Commit

Permalink
Install Git for Windows with symbolic links enabled (actions#1186)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dscho authored Jul 7, 2020
1 parent 234a7df commit 8226c37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions images/win/scripts/Installers/Install-Git.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Install-Binary -Url $downloadUrl `
"/RESTARTAPPLICATIONS", `
"/o:PathOption=CmdTools", `
"/o:BashTerminalOption=ConHost", `
"/o:EnableSymlinks=Enabled", `
"/COMPONENTS=gitlfs")

Choco-Install -PackageName hub
Expand Down

0 comments on commit 8226c37

Please sign in to comment.