Skip to content

Commit

Permalink
fix(git): Don't execute autostart programs when executing git commands (
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-hutchinson authored May 21, 2020
1 parent 078b29b commit 22fd698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function git_proxy_cmd {
if($proxy -and $proxy -ne 'none') {
$cmd = "SET HTTPS_PROXY=$proxy&&SET HTTP_PROXY=$proxy&&$cmd"
}
& "$env:COMSPEC" /c $cmd
& "$env:COMSPEC" /d /c $cmd
}

function git_clone {
Expand Down

0 comments on commit 22fd698

Please sign in to comment.