diff options
author | Santiago M. Mola <santi@mola.io> | 2017-03-01 12:49:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-01 12:49:19 +0100 |
commit | f0affc5579ec907c3092b125ff35b0359b8c4e49 (patch) | |
tree | a1c0ff7078075d57fe0fc5986ad2ef721402c507 /references.go | |
parent | ab6f224e98d876beb8c146497c60717b4fe56b2a (diff) | |
parent | 9251df17028a86cb0a0d486a3cd7e0b3eb2947f6 (diff) | |
download | go-git-f0affc5579ec907c3092b125ff35b0359b8c4e49.tar.gz |
Merge pull request #294 from ajnavarro/improvement/todos-documentation
Remove TODOs from documentation
Diffstat (limited to 'references.go')
-rw-r--r-- | references.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/references.go b/references.go index c025df9..fe1d12b 100644 --- a/references.go +++ b/references.go @@ -82,9 +82,9 @@ func walkGraph(result *[]*object.Commit, seen *map[plumbing.Hash]struct{}, curre return nil } -// TODO: benchmark this making git.object.Commit.parent public instead of using -// an iterator func parentsContainingPath(path string, c *object.Commit) []*object.Commit { + // TODO: benchmark this method making git.object.Commit.parent public instead of using + // an iterator var result []*object.Commit iter := c.Parents() for { |