Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 2f58c82

Browse files
zachgershorirawlings
authored andcommitted
grammar correction
*stopped instead of stop
1 parent 6f3b2d8 commit 2f58c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plumbing/object/commit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func (iter *storerCommitIter) Next() (*Commit, error) {
278278

279279
// ForEach call the cb function for each commit contained on this iter until
280280
// 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.
281+
// the iteration is stopped but no error is returned. The iterator is closed.
282282
func (iter *storerCommitIter) ForEach(cb func(*Commit) error) error {
283283
return iter.EncodedObjectIter.ForEach(func(obj plumbing.EncodedObject) error {
284284
c, err := DecodeCommit(iter.s, obj)

0 commit comments

Comments
 (0)