diff options
author | Chris Marchesi <chrism@vancluevertech.com> | 2018-09-07 10:11:44 -0700 |
---|---|---|
committer | Chris Marchesi <chrism@vancluevertech.com> | 2018-09-07 10:11:44 -0700 |
commit | f8adfff71d844df7efa1367b7958e8f26411aaf9 (patch) | |
tree | ef9ed83a413061d39bf9b9e9fb8c5e6224257c0c /options.go | |
parent | 9cc654ccb69324c7ab9cd67d8a92f9641b3f77b4 (diff) | |
download | go-git-f8adfff71d844df7efa1367b7958e8f26411aaf9.tar.gz |
git: s/TagObjectOptions/CreateTagOptions/
Just renaming the TagObjectOptions type to CreateTagOptions so that it's
consistent with the other option types.
Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
Diffstat (limited to 'options.go')
-rw-r--r-- | options.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -385,8 +385,8 @@ var ( ErrMissingMessage = errors.New("message field is required") ) -// TagObjectOptions describes how a tag object should be created. -type TagObjectOptions struct { +// CreateTagOptions describes how a tag object should be created. +type CreateTagOptions struct { // Tagger defines the signature of the tag creator. Tagger *object.Signature // Message defines the annotation of the tag. It is canonicalized during @@ -399,7 +399,7 @@ type TagObjectOptions struct { } // Validate validates the fields and sets the default values. -func (o *TagObjectOptions) Validate(r *Repository, hash plumbing.Hash) error { +func (o *CreateTagOptions) Validate(r *Repository, hash plumbing.Hash) error { if o.Tagger == nil { return ErrMissingTagger } |