aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/commit.go
diff options
context:
space:
mode:
authorZach Gershman <zachgersh@users.noreply.github.com>2017-08-24 14:42:08 -0700
committerOri Rawlings <orirawlings@gmail.com>2017-08-24 16:59:29 -0500
commit2f58c82181c30a9d9090173601660d88fba06958 (patch)
tree6425191b93f43f4205eb79246400b053361003ee /plumbing/object/commit.go
parent6f3b2d878d2f84f513c9dc08b000f653ea83f690 (diff)
downloadgo-git-2f58c82181c30a9d9090173601660d88fba06958.tar.gz
grammar correction
*stopped instead of stop
Diffstat (limited to 'plumbing/object/commit.go')
-rw-r--r--plumbing/object/commit.go2
1 files changed, 1 insertions, 1 deletions
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)