diff options
| author | reujab <[email protected]> | 2017-07-11 23:52:13 -0400 |
|---|---|---|
| committer | reujab <[email protected]> | 2017-07-11 23:52:13 -0400 |
| commit | a119b21dbb1b3b2720a269ed6253b3e76764c7c8 (patch) | |
| tree | 4e8df05b4f9a04c31e3d2fa4721481251ba30023 | |
| parent | 7969aefd42abf3d3d93397760e54c872493e0972 (diff) | |
fixed typos
| -rw-r--r-- | blob.go | 2 | ||||
| -rw-r--r-- | object_test.go | 2 | ||||
| -rw-r--r-- | repository.go | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -48,7 +48,7 @@ func (repo *Repository) CreateBlobFromBuffer(data []byte) (*Oid, error) { var size C.size_t // Go 1.6 added some increased checking of passing pointer to - // C, but its check depends on its expectations of waht we + // C, but its check depends on its expectations of what we // pass to the C function, so unless we take the address of // its contents at the call site itself, it can fail when // 'data' is a slice of a slice. diff --git a/object_test.go b/object_test.go index cc08210..4932dd2 100644 --- a/object_test.go +++ b/object_test.go @@ -108,7 +108,7 @@ func TestObjectOwner(t *testing.T) { func checkShortId(t *testing.T, Id, shortId string) { if len(shortId) < 7 || len(shortId) >= len(Id) { - t.Fatalf("bad shortId lenght %d", len(shortId)) + t.Fatalf("bad shortId length %d", len(shortId)) } if !strings.HasPrefix(Id, shortId) { diff --git a/repository.go b/repository.go index abf8b71..d8de97a 100644 --- a/repository.go +++ b/repository.go @@ -19,10 +19,10 @@ type Repository struct { Remotes RemoteCollection // Submodules represents the collection of submodules and can // be used to add, remove and configure submodules in this - // repostiory. + // repository. Submodules SubmoduleCollection // References represents the collection of references and can - // be used to create, remove or update refernces for this repository. + // be used to create, remove or update references for this repository. References ReferenceCollection // Notes represents the collection of notes and can be used to // read, write and delete notes from this repository. |
