aboutsummaryrefslogtreecommitdiffstats
path: root/references.go
diff options
context:
space:
mode:
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)