diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2019-03-25 01:02:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-25 01:02:48 +0100 |
commit | def8f2530687eb024fc9a3f4ccbb33a422cdd16f (patch) | |
tree | c64bb4fcda2af8005ddd8e554d094d5de1132137 /plumbing | |
parent | e7099381e2fbc7bc0d46184f392a26383dc3ffbe (diff) | |
parent | fa34e58bf6fc190bd577c6302a590dce9cdc6d41 (diff) | |
download | go-git-def8f2530687eb024fc9a3f4ccbb33a422cdd16f.tar.gz |
Merge pull request #1092 from niukuo/master
fix missing error in bfsCommitIterator
Diffstat (limited to 'plumbing')
-rw-r--r-- | plumbing/object/commit_walker_bfs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/object/commit_walker_bfs.go b/plumbing/object/commit_walker_bfs.go index aef1cf2..dabfe75 100644 --- a/plumbing/object/commit_walker_bfs.go +++ b/plumbing/object/commit_walker_bfs.go @@ -67,7 +67,7 @@ func (w *bfsCommitIterator) Next() (*Commit, error) { for _, h := range c.ParentHashes { err := w.appendHash(c.s, h) if err != nil { - return nil, nil + return nil, err } } |