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:
Ross Light 2017-04-20 12:54:45 -07:00
parent 663269851c
commit a17c85b5d7
1 changed files with 2 additions and 2 deletions

View File

@ -268,8 +268,8 @@ func (v *Cmd) Tags(dir string) ([]string, error) {
return tags, nil
}
// TagSync syncs the repo in dir to the named tag,
// which either is a tag returned by tags or is v.TagDefault.
// TagSync syncs the repo in dir to the named tag, which is either a
// 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.
func (v *Cmd) TagSync(dir, tag string) error {
if v.TagSyncCmd == "" {