From a17c85b5d7945796e854325b6019e5189add8e1e Mon Sep 17 00:00:00 2001 From: Ross Light Date: Thu, 20 Apr 2017 12:54:45 -0700 Subject: [PATCH] go/vcs: fix doc for Cmd.TagSync Change-Id: I6037372d7390faad23e12d85a0f1189648e80f8f Reviewed-on: https://go-review.googlesource.com/41199 Reviewed-by: Brad Fitzpatrick --- go/vcs/vcs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/vcs/vcs.go b/go/vcs/vcs.go index e14da0be..7a113910 100644 --- a/go/vcs/vcs.go +++ b/go/vcs/vcs.go @@ -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 == "" {