<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go-x-review/git-codereview/review.go, branch main</title>
<subtitle>Fork of golang.org/x/review with my patches.</subtitle>
<id>http://git.kilabit.info/go-x-review/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/go-x-review/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/'/>
<updated>2026-04-09T15:20:06Z</updated>
<entry>
<title>git-codereview: add command to generate Change-Id</title>
<updated>2026-04-09T15:20:06Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2024-07-20T19:15:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=99962d5770bded6aa8fac22d4c74103b5f832d6d'/>
<id>urn:sha1:99962d5770bded6aa8fac22d4c74103b5f832d6d</id>
<content type='text'>
The codereview commands only works when the git repository remote name
is "origin" and on certain URLs.
If we execute "codereview change", on repository where "origin" is not
pointed to specific URL, the "Change-Id" will generated.

This changes is quick solution to manually generate the Change-Id
(and add it manually to commit message) until we figure out how to
implement commands with different remote name.

Change-Id: Ieb155c2f7e097a6a0ec8130698b1c0709a57be0a
</content>
</entry>
<entry>
<title>git-codereview: frame sync as git codereview sync</title>
<updated>2025-07-09T15:35:44Z</updated>
<author>
<name>Matt T. Proud</name>
<email>matt.proud@gmail.com</email>
</author>
<published>2025-07-04T18:03:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=48aa97b42827239f9fd02d1b5ad75adc200c7a72'/>
<id>urn:sha1:48aa97b42827239f9fd02d1b5ad75adc200c7a72</id>
<content type='text'>
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 &lt;sean@liao.dev&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
Reviewed-by: Sean Liao &lt;sean@liao.dev&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: do not write hooks if -n is given</title>
<updated>2025-04-11T15:16:03Z</updated>
<author>
<name>Anatoli Babenia</name>
<email>anatoli@rainforce.org</email>
</author>
<published>2025-04-10T17:07:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=d5c513ca99314c64746d8c23dd8c126b9dbb3823'/>
<id>urn:sha1:d5c513ca99314c64746d8c23dd8c126b9dbb3823</id>
<content type='text'>
Fixes golang/go#73314

Change-Id: I881c2ae97f72990a6daac4919687f85cb24ac076
Reviewed-on: https://go-review.googlesource.com/c/review/+/664555
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
TryBot-Bypass: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
</content>
</entry>
<entry>
<title>git-codereview: pending: add -g option</title>
<updated>2025-02-06T21:31:03Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2025-02-06T18:48:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=53e0267ad4a55f61f94f167e38ccfa2aa7970662'/>
<id>urn:sha1:53e0267ad4a55f61f94f167e38ccfa2aa7970662</id>
<content type='text'>
This is a convenient format for listing changes awaiting review,
for pasting into an e-mail or chat.

Change-Id: Ib31bf0307d34aaca3e4de4baf9be4c3b3ac60be7
Reviewed-on: https://go-review.googlesource.com/c/review/+/647096
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Commit-Queue: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: make hooks command report conflicting hooks</title>
<updated>2023-10-18T12:53:42Z</updated>
<author>
<name>siddharth ravikumar</name>
<email>s@ricketyspace.net</email>
</author>
<published>2023-09-12T02:34:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=8be3abfe097ddf04b28eec2783249d29b3a48dae'/>
<id>urn:sha1:8be3abfe097ddf04b28eec2783249d29b3a48dae</id>
<content type='text'>
Display warning message when a hook is already installed and is
different from the one installed by git-codereview.

Improves upon CL 184417.

Fixes golang/go#16777

Change-Id: I7579a3e86572e8b74f92317973e7cc7094b3942d
Reviewed-on: https://go-review.googlesource.com/c/review/+/377034
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: fix runDirErr to actually use the passed directory</title>
<updated>2021-02-12T15:00:19Z</updated>
<author>
<name>Filippo Valsorda</name>
<email>filippo@golang.org</email>
</author>
<published>2021-02-07T23:09:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=08a7ebc305a96ca08b97b7de260c02543eeca323'/>
<id>urn:sha1:08a7ebc305a96ca08b97b7de260c02543eeca323</id>
<content type='text'>
Change-Id: I39f16f70e928999674b4f6f60c505ca0a51c46a9
Reviewed-on: https://go-review.googlesource.com/c/review/+/290211
Trust: Filippo Valsorda &lt;filippo@golang.org&gt;
Run-TryBot: Filippo Valsorda &lt;filippo@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
</content>
</entry>
<entry>
<title>git-codereview: add reword command</title>
<updated>2021-01-13T14:40:05Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2021-01-07T17:26:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=fdc5e6a4e6b93c6381d20cf1dfbfaa49f420a43d'/>
<id>urn:sha1:fdc5e6a4e6b93c6381d20cf1dfbfaa49f420a43d</id>
<content type='text'>
Quoting the new docs:

The reword command edits pending commit messages.

    git codereview reword [commit...]

Reword opens the editor on the commit message for each named commit in turn.
When all the editing is finished, it applies the changes to the pending
commits. If no commit is listed, reword applies to the most recent pending
commit.

Reword is similar in effect to running “git codereview rebase-work” and
changing the script action for the named commits to “reword”, or (with no
arguments) to “git commit --amend”, but it only affects the commit messages,
not the state of the git staged index, nor any checked-out files. This more
careful implementation makes it safe to use when there are local changes or,
for example, when tests are running that would be broken by temporary
changes to the checked-out tree, as would happen during “git codereview
rebase-work”.

Change-Id: I38ac939b8530bf237c6cafb911f2b17d22eaca60
Reviewed-on: https://go-review.googlesource.com/c/review/+/279718
Trust: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Matthew Dempsky &lt;mdempsky@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: new sync-branch and related fixes</title>
<updated>2021-01-13T14:39:58Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2021-01-07T17:26:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=4aa052da7f65ad6eeb77cce14ef70dac82d242cc'/>
<id>urn:sha1:4aa052da7f65ad6eeb77cce14ef70dac82d242cc</id>
<content type='text'>
This CL adds a new command, "git codereview sync-branch",
which does the appropriate git merge for the current branch.

This CL also fixes a bug in "git codereview branchpoint",
and therefore also commands like "git codereview pending",
which was getting the branchpoint wrong for merges,
with the effect that a merge showed too many pending CLs.

This CL also fixes a bug in "git codereview change", which was
formerly willing to run "git checkout" with a pending merge,
which had the effect of flattening the merge mysteriously.
Now it detects the merge and refuses to run.

All of this should make merges easier and less error-prone
as we use dev branches more often.

With the earlier CL in this stack that allows working directly
on local branches, this is now a great way to run a merge
updating dev.regabi:

	git change dev.regabi
	git sync-branch

(with appropriate aliases to avoid typing "codereview").

Fixes golang/go#26201.

Change-Id: Ic24603123ca5135a72004309f5bb208ff149c9eb
Reviewed-on: https://go-review.googlesource.com/c/review/+/279772
Trust: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Matthew Dempsky &lt;mdempsky@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: add a few more tests</title>
<updated>2021-01-07T18:26:42Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2021-01-07T17:26:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=3f3690dc9cf1f7c0ddca72d1c5313be4022ece58'/>
<id>urn:sha1:3f3690dc9cf1f7c0ddca72d1c5313be4022ece58</id>
<content type='text'>
Change-Id: I17ad065e8b4c1eb00cdd2f17af82be76bae4fc09
Reviewed-on: https://go-review.googlesource.com/c/review/+/279717
Trust: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Matthew Dempsky &lt;mdempsky@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: clean up usage message, docs</title>
<updated>2020-12-22T22:16:19Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2020-09-14T19:11:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=9593f86427dedbe2eda472886bd2a4f8c965abf5'/>
<id>urn:sha1:9593f86427dedbe2eda472886bd2a4f8c965abf5</id>
<content type='text'>
Change-Id: I634a9d47401c1000bcb38e9dd7e84296a3de00e6
Reviewed-on: https://go-review.googlesource.com/c/review/+/254746
Trust: Russ Cox &lt;rsc@golang.org&gt;
Trust: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
</feed>
