go/vcs: fix doc for Cmd.TagSync
Change-Id: I6037372d7390faad23e12d85a0f1189648e80f8f Reviewed-on: https://go-review.googlesource.com/41199 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
663269851c
commit
a17c85b5d7
|
|
@ -268,8 +268,8 @@ func (v *Cmd) Tags(dir string) ([]string, error) {
|
||||||
return tags, nil
|
return tags, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// TagSync syncs the repo in dir to the named tag,
|
// TagSync syncs the repo in dir to the named tag, which is either a
|
||||||
// which either is a tag returned by tags or is v.TagDefault.
|
// tag returned by Tags or the empty string (the default tag).
|
||||||
// dir must be a valid VCS repo compatible with v and the tag must exist.
|
// dir must be a valid VCS repo compatible with v and the tag must exist.
|
||||||
func (v *Cmd) TagSync(dir, tag string) error {
|
func (v *Cmd) TagSync(dir, tag string) error {
|
||||||
if v.TagSyncCmd == "" {
|
if v.TagSyncCmd == "" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue