aboutsummaryrefslogtreecommitdiffstats
path: root/remote.go
diff options
context:
space:
mode:
Diffstat (limited to 'remote.go')
-rw-r--r--remote.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/remote.go b/remote.go
index f5cc7f7..2b0273b 100644
--- a/remote.go
+++ b/remote.go
@@ -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