We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f3b2d8 commit 2f58c82Copy full SHA for 2f58c82
plumbing/object/commit.go
@@ -278,7 +278,7 @@ func (iter *storerCommitIter) Next() (*Commit, error) {
278
279
// ForEach call the cb function for each commit contained on this iter until
280
// an error appends or the end of the iter is reached. If ErrStop is sent
281
-// the iteration is stop but no error is returned. The iterator is closed.
+// the iteration is stopped but no error is returned. The iterator is closed.
282
func (iter *storerCommitIter) ForEach(cb func(*Commit) error) error {
283
return iter.EncodedObjectIter.ForEach(func(obj plumbing.EncodedObject) error {
284
c, err := DecodeCommit(iter.s, obj)
0 commit comments