File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -248,19 +248,11 @@ public virtual void Push(
248
248
GitRemoteCallbacks gitCallbacks = callbacks . GenerateCallbacks ( ) ;
249
249
Proxy . git_remote_set_callbacks ( remoteHandle , ref gitCallbacks ) ;
250
250
251
- try
252
- {
253
- Proxy . git_remote_connect ( remoteHandle , GitDirection . Push ) ;
254
- Proxy . git_remote_push ( remoteHandle , pushRefSpecs ,
255
- new GitPushOptions ( )
256
- {
257
- PackbuilderDegreeOfParallelism = pushOptions . PackbuilderDegreeOfParallelism
258
- } ) ;
259
- }
260
- finally
261
- {
262
- Proxy . git_remote_disconnect ( remoteHandle ) ;
263
- }
251
+ Proxy . git_remote_push ( remoteHandle , pushRefSpecs ,
252
+ new GitPushOptions ( )
253
+ {
254
+ PackbuilderDegreeOfParallelism = pushOptions . PackbuilderDegreeOfParallelism
255
+ } ) ;
264
256
}
265
257
}
266
258
You can’t perform that action at this time.
0 commit comments