Skip to content

Commit 7c63a94

Browse files
kenshawajnavarro
authored andcommitted
Fixes API changes from go-git (#125)
go-git changed its API on August 2nd with commit 171b3a73e7ab7015f9eb8e98965e36dfb8ea9599. This change fixes that.
1 parent cfc72fe commit 7c63a94

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

references.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ func referenceToRow(c *plumbing.Reference) sql.Row {
9696
refType,
9797
hash,
9898
target,
99-
c.IsBranch(),
100-
c.IsNote(),
101-
c.IsRemote(),
102-
c.IsTag(),
99+
c.Name().IsBranch(),
100+
c.Name().IsNote(),
101+
c.Name().IsRemote(),
102+
c.Name().IsTag(),
103103
)
104104
}

0 commit comments

Comments
 (0)