diff options
| author | Matt T. Proud <matt.proud@gmail.com> | 2025-07-04 20:03:02 +0200 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-07-09 08:35:44 -0700 |
| commit | 48aa97b42827239f9fd02d1b5ad75adc200c7a72 (patch) | |
| tree | 60f37a646805ad81076b21ed4e0b1281dcc4524b /git-codereview/change.go | |
| parent | c4af2b031e13e282462ea8ae4311bfabe115ae9d (diff) | |
| download | go-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/change.go')
| -rw-r--r-- | git-codereview/change.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-codereview/change.go b/git-codereview/change.go index 65f503f..06b658f 100644 --- a/git-codereview/change.go +++ b/git-codereview/change.go @@ -184,10 +184,10 @@ func checkoutOrCreate(target string) { origin := b.OriginBranch() // NOTE: This is different from git checkout -q -t -b origin, - // because the -t wold use the origin directly, and that may be + // because the -t would use the origin directly, and that may be // ahead of the current directory. The goal of this command is // to create a new branch for work on the current directory, - // not to incorporate new commits at the same time (use 'git sync' for that). + // not to incorporate new commits at the same time (use 'git codereview sync' for that). // The ideal is that HEAD doesn't change at all. // In the absence of pending commits, that ideal is achieved. // But if there are pending commits, it'd be too confusing to have them |
