Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/build/maintner: doesn't pick the same Change-Id line as Gerrit when a CL commit message contains more than one such line #45213

dmitshur opened this issue Mar 24, 2021 · 1 comment


Copy link

@dmitshur dmitshur commented Mar 24, 2021

In CL 301589 patch set 3, there were 2 Change-Id lines.

Change-Id: Ia979f971b9bf581b230d7d240ad4068e594eefe0
Change-Id: I5e1cd3357a5ae202a902060935b99fd1a821ba59

In that particular case, Gerrit uses the second one, while maintner picks the first one.

There's a TODO in the code:

// TODO: git footers are treated as multimaps. Account for this.

It's rare for a CL to have more than one Change-Id line with different IDs, so this doesn't come up often.

CC @golang/release.

Copy link

@gopherbot gopherbot commented Apr 14, 2021

Change mentions this issue: maintner: pick the lowermost Change-Id line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants