diff options
author | Chris Marchesi <chrism@vancluevertech.com> | 2018-09-07 07:32:12 -0700 |
---|---|---|
committer | Chris Marchesi <chrism@vancluevertech.com> | 2018-09-07 09:00:42 -0700 |
commit | 6b3f46b3da8924c058abd7159b8c1212b7c78d07 (patch) | |
tree | 0e8e09b704c3b296a461c0bc92d73bce9cb85eb9 | |
parent | 01631f0e5c4be73cefaa8b2cc8a4811005871656 (diff) | |
download | go-git-6b3f46b3da8924c058abd7159b8c1212b7c78d07.tar.gz |
git: s/fetch/returns/ on Tag function doc
This is to avoid any ambiguity with the act of "fetching" in git in
general.
Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
-rw-r--r-- | repository.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repository.go b/repository.go index 68cc5cc..67bc96a 100644 --- a/repository.go +++ b/repository.go @@ -581,7 +581,7 @@ func (r *Repository) buildTagSignature(tag *object.Tag, signKey *openpgp.Entity) return b.String(), nil } -// Tag fetches a tag from the repository. +// Tag returns a tag from the repository. // // If you want to check to see if the tag is an annotated tag, you can call // TagObject on the hash of the reference in ForEach: |