diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-11-30 18:55:36 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-11-30 18:55:36 -0500 |
commit | deb826c9c18f26652e565a013e2d00929c0b8a35 (patch) | |
tree | 360a0477e33d2e23252e6e2a8da4b2fd49adf965 | |
parent | 221873029a6166acaba1fef37508f9f1544180cd (diff) |
whoops, fix Backend.Do
-rw-r--r-- | backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ func NewBackend(fastImport io.WriteCloser, catBlob io.Reader, onErr func(error) // will panic if Cmd is a type that may only be used in a commit but // we aren't in a commit. func (b *Backend) Do(cmd Cmd) error { - if b.err == nil { + if b.err != nil { return b.err } |