| Issue 3343: | Change-Id is written at bottom of commit message, but Gerrit rejects push as though it's not there. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
***************************************************************** ***** ***** ***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!! ***** ***** ***** ***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD, ***** ***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.***** ***** ***** ***** THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS ***** ***** ***** ***************************************************************** Affected Version: What steps will reproduce the problem? 1. git add <changed File> 2. git commit 3. Edit commit message 4. Save commit. 5. git show (reveals that the Commit-Id: Ixxx.... was written) 6. git push origin HEAD:refs/for/master What is the expected output? Should get back a new Review URL. What do you see instead? the "ERROR: missing Change-Id in commit message footer" ======== git show (scrubbed) ============ commit a02267955b1f54b82f6f8b4f89d2569a83233165 Author: Some One <me@notyou.com> Date: Wed Apr 29 09:46:58 2015 -0400 Update SomeFile Some stuff in SomeFile is now updated. CR 2955422 - Captured CR activities identifier Code review: Code reviewed by nobody (this is here for mirroring to Perforce eventually and it's hooks look for this) Change-Id: I54b1f3c97bab5050752cb14969c298628ff5efaa ====================================================== also tried, git commit --amend and saved just to re-save the commit. The expected Change-Id: is there. try to push again begets the same as above. Please provide any additional information below. Gerrit 2.11 stable. Gerrit commit-msg hook is from Gerrit 2.11 ( I looked in the commit-msg file and saw it in the comments) Using Postgresql with UTF-8 encoding. As a workaround: I was able to generate a patch file, send it to another developer and that developer was able to submit the patch.
Apr 29, 2015
Project Member
#1
edwin.ke...@gmail.com
Status:
AwaitingInformation
|
|
| ► Sign in to add a comment |