开发者

Gerrit gives missing change-id error even though the change-id is there

开发者 https://www.devze.com 2023-02-28 22:41 出处:网络
I\'m trying to push some changes to gerrit but gerrit is giving me back a remote error ! [remote rejected] HEAD -> refs/for/master (missing Change-Id in commit message )

I'm trying to push some changes to gerrit but gerrit is giving me back a remote error

! [remote rejected] HEAD -> refs/for/master (missing Change-Id in commit message )

I do have the change-id in the last paragraph just like usual.

user type is shown in setting开发者_Go百科s and user switchboard

Change-Id: I6b752abec9cf423d088bae4bfd939079dff21b3d

How can I push this change for review?


I was trying to push multiple commits (I thought it was only one) to gerrit and some of the commits did not have change-ids amended to the end of the commit message.

gerrit didn't like those commits, so I brought all the commits to one and it worked fine.


I realize this is almost a month old now, but it's gone unanswered and I like to have closure. :-)

Are you sure it's in the last paragraph? No extraneous characters in the commit message, etc?

If you don't need that specific Change-Id, amend the commit and remove that line so the commit-msg hook will regenerate it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号