aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object
diff options
context:
space:
mode:
authorferhat elmas <elmas.ferhat@gmail.com>2017-11-20 03:54:25 +0100
committerferhat elmas <elmas.ferhat@gmail.com>2017-11-20 03:55:01 +0100
commitd9b8691c6b137bb59ee185f69acf868a8f42b77d (patch)
tree03d8d5ef744a9df744d7f7b42674cacf12d4da18 /plumbing/object
parentdcec8517e203aa22f28b72e3015a4b3406d7cc62 (diff)
downloadgo-git-d9b8691c6b137bb59ee185f69acf868a8f42b77d.tar.gz
examples,plumbing,utils: typo fixes
Diffstat (limited to 'plumbing/object')
-rw-r--r--plumbing/object/change_adaptor.go2
-rw-r--r--plumbing/object/tag.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/object/change_adaptor.go b/plumbing/object/change_adaptor.go
index 49b6545..491c399 100644
--- a/plumbing/object/change_adaptor.go
+++ b/plumbing/object/change_adaptor.go
@@ -8,7 +8,7 @@ import (
"gopkg.in/src-d/go-git.v4/utils/merkletrie/noder"
)
-// The folowing functions transform changes types form the merkletrie
+// The following functions transform changes types form the merkletrie
// package to changes types from this package.
func newChange(c merkletrie.Change) (*Change, error) {
diff --git a/plumbing/object/tag.go b/plumbing/object/tag.go
index 7b091d0..d8b71a0 100644
--- a/plumbing/object/tag.go
+++ b/plumbing/object/tag.go
@@ -252,7 +252,7 @@ func (iter *TagIter) Next() (*Tag, error) {
}
// ForEach call the cb function for each tag contained on this iter until
-// an error happends or the end of the iter is reached. If ErrStop is sent
+// an error happens 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.
func (iter *TagIter) ForEach(cb func(*Tag) error) error {
return iter.EncodedObjectIter.ForEach(func(obj plumbing.EncodedObject) error {