aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--blame.go2
-rw-r--r--clients/ssh/git_upload_pack.go4
-rw-r--r--commit.go4
-rw-r--r--formats/packfile/reader.go2
-rw-r--r--objects.go4
-rw-r--r--tag.go4
-rw-r--r--tree.go2
7 files changed, 11 insertions, 11 deletions
diff --git a/blame.go b/blame.go
index 3eb4c35..8fdef16 100644
--- a/blame.go
+++ b/blame.go
@@ -38,7 +38,7 @@ type Blame struct {
// Co-changed Lines", in proceedings of the Mining Software
// Repositories workshop, Shanghai, May 22-23, 2006.
//
-// Each node is asigned a commit: Start by the nodes in the first
+// Each node is assigned a commit: Start by the nodes in the first
// commit. Assign that commit as the creator of all its lines.
//
// Then jump to the nodes in the next commit, and calculate the diff
diff --git a/clients/ssh/git_upload_pack.go b/clients/ssh/git_upload_pack.go
index 0d824cd..3c67b2b 100644
--- a/clients/ssh/git_upload_pack.go
+++ b/clients/ssh/git_upload_pack.go
@@ -172,9 +172,9 @@ func (s *GitUploadPackService) Fetch(r *common.GitUploadPackRequest) (rc io.Read
if err != nil {
return nil, err
}
- // TODO: inestigate this *ExitError type (command fails or
+ // TODO: investigate this *ExitError type (command fails or
// doesn't complete successfully), as it is happenning all
- // the time, but everyting seems to work fine.
+ // the time, but everything seems to work fine.
err = session.Wait()
if err != nil {
if _, ok := err.(*ssh.ExitError); !ok {
diff --git a/commit.go b/commit.go
index 5b826ca..d9f8304 100644
--- a/commit.go
+++ b/commit.go
@@ -52,14 +52,14 @@ func (c *Commit) File(path string) (file *File, err error) {
// ID returns the object ID of the commit. The returned value will always match
// the current value of Commit.Hash.
//
-// ID is present to fufill the Object interface.
+// ID is present to fulfill the Object interface.
func (c *Commit) ID() core.Hash {
return c.Hash
}
// Type returns the type of object. It always returns core.CommitObject.
//
-// Type is present to fufill the Object interface.
+// Type is present to fulfill the Object interface.
func (c *Commit) Type() core.ObjectType {
return core.CommitObject
}
diff --git a/formats/packfile/reader.go b/formats/packfile/reader.go
index 702daca..a013776 100644
--- a/formats/packfile/reader.go
+++ b/formats/packfile/reader.go
@@ -40,7 +40,7 @@ type Reader struct {
// MaxObjectsLimit is the limit of objects to be load in the packfile, if
// a packfile excess this number an error is throw, the default value
// is defined by DefaultMaxObjectsLimit, usually the default limit is more
- // than enough to work with any repository, working extremly big repositories
+ // than enough to work with any repository, working extremely big repositories
// where the number of object is bigger the memory can be exhausted.
MaxObjectsLimit uint32
diff --git a/objects.go b/objects.go
index b84909c..4d053a0 100644
--- a/objects.go
+++ b/objects.go
@@ -51,14 +51,14 @@ type Blob struct {
// ID returns the object ID of the blob. The returned value will always match
// the current value of Blob.Hash.
//
-// ID is present to fufill the Object interface.
+// ID is present to fulfill the Object interface.
func (b *Blob) ID() core.Hash {
return b.Hash
}
// Type returns the type of object. It always returns core.BlobObject.
//
-// Type is present to fufill the Object interface.
+// Type is present to fulfill the Object interface.
func (b *Blob) Type() core.ObjectType {
return core.BlobObject
}
diff --git a/tag.go b/tag.go
index 41349f6..192d22b 100644
--- a/tag.go
+++ b/tag.go
@@ -38,14 +38,14 @@ func (t *Tag) Type() core.ObjectType {
// ID returns the object ID of the tag, not the object that the tag references.
// The returned value will always match the current value of Tag.Hash.
//
-// ID is present to fufill the Object interface.
+// ID is present to fulfill the Object interface.
func (t *Tag) ID() core.Hash {
return t.Hash
}
// Type returns the type of object. It always returns core.TagObject.
//
-// Type is present to fufill the Object interface.
+// Type is present to fulfill the Object interface.
func (t *Tag) Type() core.ObjectType {
return core.TagObject
}
diff --git a/tree.go b/tree.go
index 50f86e9..9a1cc7b 100644
--- a/tree.go
+++ b/tree.go
@@ -125,7 +125,7 @@ func (t *Tree) Files() *FileIter {
// ID returns the object ID of the tree. The returned value will always match
// the current value of Tree.Hash.
//
-// ID is present to fufill the Object interface.
+// ID is present to fulfill the Object interface.
func (t *Tree) ID() core.Hash {
return t.Hash
}