From 2f58c82181c30a9d9090173601660d88fba06958 Mon Sep 17 00:00:00 2001 From: Zach Gershman Date: Thu, 24 Aug 2017 14:42:08 -0700 Subject: grammar correction *stopped instead of stop --- plumbing/object/commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plumbing/object/commit.go b/plumbing/object/commit.go index c5a1867..eee015b 100644 --- a/plumbing/object/commit.go +++ b/plumbing/object/commit.go @@ -278,7 +278,7 @@ func (iter *storerCommitIter) Next() (*Commit, error) { // ForEach call the cb function for each commit contained on this iter until // an error appends or the end of the iter is reached. If ErrStop is sent -// 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. func (iter *storerCommitIter) ForEach(cb func(*Commit) error) error { return iter.EncodedObjectIter.ForEach(func(obj plumbing.EncodedObject) error { c, err := DecodeCommit(iter.s, obj) -- cgit