Skip to content

Commit

Permalink
git: s/fetch/returns/ on Tag function doc
Browse files Browse the repository at this point in the history
This is to avoid any ambiguity with the act of "fetching" in git in
general.

Signed-off-by: Chris Marchesi <[email protected]>
  • Loading branch information
vancluever committed Sep 7, 2018
1 parent 01631f0 commit 6b3f46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6b3f46b

Please sign in to comment.