| David Pursehouse | a68769e | 2012-11-07 12:36:17 +0900 | [diff] [blame] | 1 | multiple Change-Id lines in commit message footer |
| 2 | ================================================= |
| 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 |
| 8 | by doing a link:http://www.kernel.org/pub/software/scm/git/docs/git-log.html[git log]. |
| 9 | |
| 10 | If it was the intention to rework a change and to push a new patch |
| 11 | set, find the change in the Gerrit WebUI, copy its Change-Id line and |
| 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 | |
| 23 | SEE ALSO |
| 24 | -------- |
| 25 | |
| 26 | * link:user-changeid.html[Change-Id Lines] |
| 27 | |
| 28 | |
| 29 | GERRIT |
| 30 | ------ |
| 31 | Part of link:error-messages.html[Gerrit Error Messages] |