Commit 040335a
committed
Drop http scheme from CA-bundle guard in gitDownload
InstallProtocol("https", ...) has no effect on plain http:// URLs, so
including u.Scheme == "http" in the condition only needlessly locked
the mutex and performed a no-op protocol registration.1 parent ad49f1a commit 040335a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
0 commit comments