diff options
| author | cuishuang <imcusg@gmail.com> | 2025-10-21 10:35:27 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-10-24 09:37:34 -0700 |
| commit | b313cd9402503ea9ae851855a00bff2e45c50655 (patch) | |
| tree | 7b315f5755c39c41fc191ed2041aef6b032758b5 | |
| parent | 76393d655c8f354421be1040adf3ce5f4ea322f0 (diff) | |
| download | go-x-review-b313cd9402503ea9ae851855a00bff2e45c50655.tar.xz | |
git-codereview: fix some comments
Change-Id: I0650c81a855138049e9132d56cc742620ecaf185
Reviewed-on: https://go-review.googlesource.com/c/review/+/713362
Reviewed-by: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
| -rw-r--r-- | git-codereview/api.go | 2 | ||||
| -rw-r--r-- | git-codereview/submit.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/git-codereview/api.go b/git-codereview/api.go index 1b9d0e0..da3fa76 100644 --- a/git-codereview/api.go +++ b/git-codereview/api.go @@ -316,7 +316,7 @@ func gerritAPI(path string, requestBody []byte, target interface{}) (err error) return nil } -// fullChangeID returns the unambigous Gerrit change ID for the commit c on branch b. +// fullChangeID returns the unambiguous Gerrit change ID for the commit c on branch b. // The returned ID has the form project~originbranch~Ihexhexhexhexhex. // See https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#change-id for details. func fullChangeID(b *Branch, c *Commit) string { diff --git a/git-codereview/submit.go b/git-codereview/submit.go index 6cfb809..4bbbf32 100644 --- a/git-codereview/submit.go +++ b/git-codereview/submit.go @@ -166,7 +166,7 @@ func submitCheck(g *GerritChange) error { // Not yet "MERGED", so try the submit. // "SUBMITTED" is a weird state. It means that Submit has been clicked once, // but it hasn't happened yet, usually because of a merge failure. - // The user may have done git codereview sync and may now have a mergable + // The user may have done git codereview sync and may now have a mergeable // copy waiting to be uploaded, so continue on as if it were "NEW". case "MERGED": |
