fork of go-git with some jj specific features
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

plumbing/object: don't assign err from ForEach loop

Since we don't check the value anyway, as it can't possibly be anything but nil.

Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com>
(cherry picked from commit 293e70fbceb5c81f33a96d5705f10785c6063db9)

authored by

Christian Muehlhaeuser and committed by
Máximo Cuadros
ab19315b e5c9c0dd

+1 -1
+1 -1
plumbing/object/merge_base.go
··· 32 32 var res []*Commit 33 33 inNewerHistory := isInIndexCommitFilter(newerHistory) 34 34 resIter := NewFilterCommitIter(older, &inNewerHistory, &inNewerHistory) 35 - err = resIter.ForEach(func(commit *Commit) error { 35 + _ = resIter.ForEach(func(commit *Commit) error { 36 36 res = append(res, commit) 37 37 return nil 38 38 })