aboutsummaryrefslogtreecommitdiff
path: root/git-codereview/review.go
diff options
context:
space:
mode:
authorMatt T. Proud <matt.proud@gmail.com>2025-07-04 20:03:02 +0200
committerGopher Robot <gobot@golang.org>2025-07-09 08:35:44 -0700
commit48aa97b42827239f9fd02d1b5ad75adc200c7a72 (patch)
tree60f37a646805ad81076b21ed4e0b1281dcc4524b /git-codereview/review.go
parentc4af2b031e13e282462ea8ae4311bfabe115ae9d (diff)
downloadgo-x-review-1.16.0.tar.xz
git-codereview: frame sync as git codereview syncv1.16.0
The codereview binary referred to the sync subcommand as merely "git sync" in a number of places in user surfaces. This was wrong and misleading, so the code now refers to it with the codereview parent subcommand in the name (i.e., a "git codereview sync"). Change-Id: Icf3f96a8c76b57319bc3101b3e9fd0cbd8cecea9 Reviewed-on: https://go-review.googlesource.com/c/review/+/685855 Auto-Submit: Sean Liao <sean@liao.dev> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Sean Liao <sean@liao.dev> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'git-codereview/review.go')
-rw-r--r--git-codereview/review.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-codereview/review.go b/git-codereview/review.go
index 795cc80..ad0632a 100644
--- a/git-codereview/review.go
+++ b/git-codereview/review.go
@@ -251,9 +251,9 @@ func cmdOutputErr(command string, args ...string) (string, error) {
// should be run using runDirErr so that the -v and -n flags apply to them.
func cmdOutputDirErr(dir, command string, args ...string) (string, error) {
// NOTE: We only show these non-state-modifying commands with -v -v.
- // Otherwise things like 'git sync -v' show all our internal "find out about
+ // Otherwise things like 'git codereview sync -v' show all our internal "find out about
// the git repo" commands, which is confusing if you are just trying to find
- // out what git sync means.
+ // out what git codereview sync means.
if *verbose > 1 {
start := time.Now()
defer func() {