diff options
author | Sergio Arbeo <serabe@gmail.com> | 2017-01-30 19:04:46 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-30 19:04:46 +0100 |
commit | 90c1bbd07862c6e1c3ce80306d69eee8ed277056 (patch) | |
tree | 5d24a7a015803fd2776b968b777ce5e017be9973 /plumbing/object/commit.go | |
parent | a24e40af0aa2d9d512051269993a1b08c0496d12 (diff) | |
download | go-git-90c1bbd07862c6e1c3ce80306d69eee8ed277056.tar.gz |
Fix some typos in plumbing docs (#244)
Diffstat (limited to 'plumbing/object/commit.go')
-rw-r--r-- | plumbing/object/commit.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plumbing/object/commit.go b/plumbing/object/commit.go index f0ce6e8..fb87f8a 100644 --- a/plumbing/object/commit.go +++ b/plumbing/object/commit.go @@ -13,7 +13,7 @@ import ( "gopkg.in/src-d/go-git.v4/utils/ioutil" ) -// Hash hash of an object +// Hash represents the hash of an object type Hash plumbing.Hash // Commit points to a single tree, marking it as what the project looked like @@ -280,13 +280,13 @@ func (s commitSorterer) Swap(i, j int) { s.l[i], s.l[j] = s.l[j], s.l[i] } -// SortCommits sort a commit list by commit date, from older to newer. +// SortCommits sorts a commit list by commit date, from older to newer. func SortCommits(l []*Commit) { s := &commitSorterer{l} sort.Sort(s) } -// ReverseSortCommits sort a commit list by commit date, from newer to older. +// ReverseSortCommits sorts a commit list by commit date, from newer to older. func ReverseSortCommits(l []*Commit) { s := &commitSorterer{l} sort.Sort(sort.Reverse(s)) |