diff options
author | Santiago M. Mola <santi@mola.io> | 2017-06-13 16:01:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 16:01:06 +0200 |
commit | beab77aaed6ac84cbf97704f5507eae40350fefa (patch) | |
tree | 25905da2442b2363d0d45bba07485543e5665deb /remote.go | |
parent | 2a00316b65585be2bf68e1ea9c0e42c6af4f5679 (diff) | |
parent | cbbd2a9ad8ee990c79bd847b0df2823e2449ea4e (diff) | |
download | go-git-beab77aaed6ac84cbf97704f5507eae40350fefa.tar.gz |
Merge pull request #418 from smola/ssh-issue-310
fix push on git and ssh
Diffstat (limited to 'remote.go')
-rw-r--r-- | remote.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -76,6 +76,8 @@ func (r *Remote) Push(o *PushOptions) (err error) { return err } + defer ioutil.CheckClose(s, &err) + ar, err := s.AdvertisedReferences() if err != nil { return err |