Apply suggestions from code review

This commit is contained in:
lhchavez 2022-10-04 07:47:06 -07:00 committed by GitHub
parent e021a83605
commit 175b87e231
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@ Due to the fact that Go 1.11 module versions have semantic meaning and don't nec
|---------|---------------|
| main | (will be v35) |
| 1.5 | v34 |
| 1.3 | v34 |
| 1.3 | v33 |
| 1.2 | v32 |
| 1.1 | v31 |
| 1.0 | v30 |

View File

@ -84,6 +84,7 @@ type Transport struct {
ptr *C.git_transport
}
// SmartRemoteConnectOptions gets a copy of the proxy options for this transport.
func (t *Transport) SmartRemoteConnectOptions() (*RemoteConnectOptions, error) {
runtime.LockOSThread()
defer runtime.UnlockOSThread()