aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Marchesi <chrism@vancluevertech.com>2018-09-07 07:32:12 -0700
committerChris Marchesi <chrism@vancluevertech.com>2018-09-07 09:00:42 -0700
commit6b3f46b3da8924c058abd7159b8c1212b7c78d07 (patch)
tree0e8e09b704c3b296a461c0bc92d73bce9cb85eb9
parent01631f0e5c4be73cefaa8b2cc8a4811005871656 (diff)
downloadgo-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.go2
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: