aboutsummaryrefslogtreecommitdiffstats
path: root/references.go
diff options
context:
space:
mode:
authorAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-03-02 10:48:26 +0100
committerAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-03-03 16:16:35 +0100
commitbe7e1e6443633728559577363e83fabd56e65a36 (patch)
tree4f24c9789ecc679d1ba723c989fba4724f3fbc59 /references.go
parent900691567e51bf95bb92d36951e2b7b79d2596cc (diff)
downloadgo-git-be7e1e6443633728559577363e83fabd56e65a36.tar.gz
Add full stops and keep implementation details as internal comments.
Diffstat (limited to 'references.go')
-rw-r--r--references.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/references.go b/references.go
index 338e2b7..68a54a6 100644
--- a/references.go
+++ b/references.go
@@ -21,7 +21,8 @@ import (
// - Moves and copies are not currently supported.
//
// - Cherry-picks are not detected unless there are no commits between them and
-// therefore can appear repeated in the list. (see git path-id for hints on how to fix this).
+// therefore can appear repeated in the list. (see git path-id for hints on how
+// to fix this).
func References(c *object.Commit, path string) ([]*object.Commit, error) {
var result []*object.Commit
seen := make(map[plumbing.Hash]struct{}, 0)