Marian Harbach | ebeb154 | 2019-12-13 10:42:46 +0100 | [diff] [blame] | 1 | :linkattrs: |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 2 | = invalid Change-Id line format in commit message footer |
Edwin Kempin | e0db067 | 2010-12-28 09:31:40 +0100 | [diff] [blame] | 3 | |
| 4 | With this error message Gerrit rejects to push a commit if its commit |
David Pursehouse | a68769e | 2012-11-07 12:36:17 +0900 | [diff] [blame] | 5 | message footer contains an invalid Change-Id line. |
Edwin Kempin | e0db067 | 2010-12-28 09:31:40 +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 | e0db067 | 2010-12-28 09:31:40 +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 | e0db067 | 2010-12-28 09:31:40 +0100 | [diff] [blame] | 12 | use it to correct the invalid Change-Id line in the commit message of |
| 13 | the commit for which the push is failing. How to do this is explained |
| 14 | 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 the invalid Change-Id line 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 valid |
| 20 | Change-Id 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 | e0db067 | 2010-12-28 09:31:40 +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 | --------- |