summaryrefslogtreecommitdiff
path: root/utils.go
diff options
context:
space:
mode:
authorAnton Medvedev <anton@medv.io>2025-12-07 20:07:15 +0100
committerAnton Medvedev <anton@medv.io>2025-12-07 20:07:15 +0100
commit59608fd41c1ec2bdab8dfebbb1786bd84d8b5fa1 (patch)
tree14a457e1594840d893aa3c042a4566a9a3f65f91 /utils.go
parent1441fb29d93481f7bea76bbfa2a9f289ed1ac4f0 (diff)
Rename `Ref` method with `String`
Diffstat (limited to 'utils.go')
-rw-r--r--utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.go b/utils.go
index d8e85d1..2ad68d5 100644
--- a/utils.go
+++ b/utils.go
@@ -107,7 +107,7 @@ func isImage(path string) bool {
func containsBranch(branches []git.Ref, branch string) bool {
for _, b := range branches {
- if b.Ref() == branch {
+ if b.String() == branch {
return true
}
}