aboutsummaryrefslogtreecommitdiffstats
path: root/entity/refs.go
diff options
context:
space:
mode:
Diffstat (limited to 'entity/refs.go')
-rw-r--r--entity/refs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/entity/refs.go b/entity/refs.go
index 070d4dba..6ba505b9 100644
--- a/entity/refs.go
+++ b/entity/refs.go
@@ -13,7 +13,7 @@ func RefsToIds(refs []string) []Id {
return ids
}
-// RefsToIds parse a git reference and return the corresponding Entity's Id.
+// RefToId parse a git reference and return the corresponding Entity's Id.
func RefToId(ref string) Id {
split := strings.Split(ref, "/")
return Id(split[len(split)-1])