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?
Hi Mandeep 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: .git/hooks/commit-msg .git/COMMIT_EDITMSG And then see if the Change-Id showed up. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
