diff options
Diffstat (limited to 'examples/remotes/main.go')
-rw-r--r-- | examples/remotes/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/remotes/main.go b/examples/remotes/main.go index 976c56d..43b127f 100644 --- a/examples/remotes/main.go +++ b/examples/remotes/main.go @@ -45,7 +45,7 @@ func main() { // > git show-ref color.Blue("git show-ref") - refs, _ := r.Refs() + refs, _ := r.References() refs.ForEach(func(ref *plumbing.Reference) error { // The HEAD is omitted in a `git show-ref` so we ignore the symbolic // references, the HEAD |