diff options
Diffstat (limited to 'remote.go')
-rw-r--r-- | remote.go | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -60,11 +60,8 @@ func (r *Remote) connectUploadPackService() error { func (r *Remote) retrieveUpInfo() error { var err error - if r.upInfo, err = r.upSrv.Info(); err != nil { - return err - } - - return nil + r.upInfo, err = r.upSrv.Info() + return err } // Info returns the git-upload-pack info |