Learning center

Can a Gerrit reviewer judge one change in a dependent series?

Use the patch set’s exact parent to decide which part of the series you can review. If a child relies on an unsubmitted parent, ask whether the conclusion is about the child diff or the code that would run once both changes land.

Follow a helper into its proposed parent#

An author adds a permission helper in change A and calls it in change B. Gerrit shows both changes together through its related changes view. A candidate tool reads only B’s modified files. It can report that the call was added, but it needs the parent version to read the helper’s behavior.

Open B’s selected patch set and the related changes for it, then verify its parent Git commit against the commit the tool says it used. If A receives a later patch set, inspect whether B is still based on the earlier A or has been rebased. The author can update B and request another review when its parent changes. Gerrit patch sets and related changes

Assign an advisory role to a tool that can read B alone. A recommendation about the chain needs its inputs attached to the result, including the exact Gerrit revisions.

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading