diff options
author | Santiago M. Mola <santi@mola.io> | 2016-12-08 14:24:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-08 14:24:01 +0100 |
commit | a91727b6d5e6d8db17e960de6255bc848c78a076 (patch) | |
tree | 5c810b9a0c48f006318377cc0223179a28ce3642 /examples/remotes/main.go | |
parent | 45572a28635e63559dcc3b60c30c6ce09acb0a90 (diff) | |
download | go-git-a91727b6d5e6d8db17e960de6255bc848c78a076.tar.gz |
repository: Ref -> Reference; Refs -> References. (#168)
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 |