[Development] No Change-Id being generated for commit message
thiago.macieira at intel.com
Thu Mar 26 01:49:57 CET 2015
On Wednesday 25 March 2015 17:36:58 Mandeep Sandhu wrote:
> Hi All,
> I'm having trouble pushing a change.
> 'git push' failed stating that the commit message was missing the
> "Change-Id" field. I had this working until recently when I moved my
> setup toa different machine. So something likely got screwed-up.
> I have the "commit-msg" hook installed in my repo's .git/hooks dir.
> Although it doesn't seem to be generating the Change-Id. The rest of
> the commit template is there when I do a commit, only the Change-Id
> field is missing.
> Any hints on where to look?
How are you committing? If you're using Qt Creator's integrated commit editor,
make sure that the "bypass hooks" option is de-selected.
If you're using the command-line or if the option is already de-selected, make
sure that the script works. To do that, check that your .git/COMMIT_EDITMSG
file does not contain a Change-Id, then run:
And then see if the Change-Id showed up.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development