aboutsummaryrefslogtreecommitdiffstats
path: root/examples/remotes/main.go
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2016-12-08 14:24:01 +0100
committerGitHub <noreply@github.com>2016-12-08 14:24:01 +0100
commita91727b6d5e6d8db17e960de6255bc848c78a076 (patch)
tree5c810b9a0c48f006318377cc0223179a28ce3642 /examples/remotes/main.go
parent45572a28635e63559dcc3b60c30c6ce09acb0a90 (diff)
downloadgo-git-a91727b6d5e6d8db17e960de6255bc848c78a076.tar.gz
repository: Ref -> Reference; Refs -> References. (#168)
Diffstat (limited to 'examples/remotes/main.go')
-rw-r--r--examples/remotes/main.go2
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