Git cherry-pick, merge and revert (including the Gerrit button) do not include Change-Id in commit message
Bug #1200215 reported by
Mark McLoughlin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I used the gerrit revert button for this: https:/
You see in Patch Set 1, gerrit didn't include a Change-Id in the commit message
So, when I had to rebase (which was odd, there was no conflicts) I needed to manually add the Change-Id
To post a comment you must log in.
I hadn't noticed that button existed, but the obvious workaround here (for those stumbling across this bug) is merely to revert locally and then propose that change for review, since the commit hook should add a Change Id header for you.
Chances are this is an upstream bug, and likely fixed since the 2.4 release we're running. If someone gets a chance to see whether there's a patch we can easily backport for this it would be appreciated!