Marian Harbach | ebeb154 | 2019-12-13 10:42:46 +0100 | [diff] [blame] | 1 | :linkattrs: |
Han-Wen Nienhuys | b8424a0 | 2018-08-27 20:04:08 +0200 | [diff] [blame] | 2 | = commit xxxxxxx: multiple Change-Id lines in message footer |
Edwin Kempin | 947d666 | 2010-12-27 13:33:09 +0100 | [diff] [blame] | 3 | |
| 4 | With this error message Gerrit rejects to push a commit if the commit |
David Pursehouse | a68769e | 2012-11-07 12:36:17 +0900 | [diff] [blame] | 5 | message footer of the pushed commit contains several Change-Id lines. |
Edwin Kempin | 947d666 | 2010-12-27 13:33:09 +0100 | [diff] [blame] | 6 | |
| 7 | You can see the commit messages for existing commits in the history |
Marian Harbach | 3425337 | 2019-12-10 18:01:31 +0100 | [diff] [blame] | 8 | by doing a link:http://www.kernel.org/pub/software/scm/git/docs/git-log.html[git log,role=external,window=_blank]. |
Edwin Kempin | 947d666 | 2010-12-27 13:33:09 +0100 | [diff] [blame] | 9 | |
| 10 | If it was the intention to rework a change and to push a new patch |
David Pursehouse | a1d633b | 2014-05-02 17:21:02 +0900 | [diff] [blame] | 11 | set, find the change in the Gerrit Web UI, copy its Change-Id line and |
Edwin Kempin | 947d666 | 2010-12-27 13:33:09 +0100 | [diff] [blame] | 12 | use the copied Change-Id line instead of the existing Change-Id lines |
| 13 | in the commit message of the commit for which the push is failing. |
| 14 | How to do this is explained link:error-push-fails-due-to-commit-message.html#commit_hook[here]. |
| 15 | |
| 16 | If it was the intention to create a new change in Gerrit simply |
| 17 | remove all Change-Id lines from the commit message of the |
| 18 | commit for which the push is failing. How to do this is explained |
| 19 | link:error-push-fails-due-to-commit-message.html#commit_hook[here]. In case you have configured the link:cmd-hook-commit-msg.html[commit hook] a new Change-Id |
| 20 | will be automatically generated and inserted. |
| 21 | |
| 22 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 23 | == SEE ALSO |
Edwin Kempin | 947d666 | 2010-12-27 13:33:09 +0100 | [diff] [blame] | 24 | |
| 25 | * link:user-changeid.html[Change-Id Lines] |
| 26 | |
| 27 | |
| 28 | GERRIT |
| 29 | ------ |
| 30 | Part of link:error-messages.html[Gerrit Error Messages] |
Yuxuan 'fishy' Wang | 99cb68d | 2013-10-31 17:26:00 -0700 | [diff] [blame] | 31 | |
| 32 | SEARCHBOX |
| 33 | --------- |