On Thu, Sep 5, 2013 at 9:16 AM, <[email protected]> wrote: > > > > ----- Original Nachricht ---- > Von: Chad Horohoe <[email protected]> > An: Pywikipedia discussion list <[email protected]> > Datum: 05.09.2013 17:58 > Betreff: Re: [Pywikipedia-l] Git error message > > > On Thu, Sep 5, 2013 at 8:52 AM, <[email protected]> wrote: > > > > > I got the following git message while pushing but the commit-msg hook > is > > > already installed (before committing the change). Does anyone has an > > idea? > > > > > > git.exe push --progress "origin" master:refs/for/master > > > > > > Counting objects: 10, done. > > > Delta compression using up to 4 threads. > > > Compressing objects: 100% (6/6), done. > > > Writing objects: 100% (7/7), 871 bytes, done. > > > Total 7 (delta 3), reused 0 (delta 0) > > > remote: Resolving deltas: 100% (3/3) > > > remote: Processing changes: refs: 1, done > > > remote: ERROR: missing Change-Id in commit message footer > > > remote: Suggestion for commit message: > > > remote: Merge branch 'master' of ssh:// > > > gerrit.wikimedia.org:29418/pywikibot/compat > > > remote: > > > remote: Change-Id: I5563ab61e3017eaeddd30ca270b9916d64f809cb > > > remote: > > > remote: Hint: To automatically insert Change-Id, install the hook: > > > remote: scp -p -P 29418 [email protected]:hooks/commit-msg > `git > > > rev-parse --git-dir`/hooks/commit-msg > > > remote: > > > remote: > > > To ssh://[email protected]:29418/pywikibot/compat > > > ! [remote rejected] master -> refs/for/master (missing Change-Id in > > commit > > > message footer) > > > error: failed to push some refs to 'ssh:// > > > [email protected]:29418/pywikibot/compat' > > > > > > > > > git did not exit cleanly (exit code 1) (2293 ms @ 05.09.2013 17:46:45) > > > > > > Greetings > > > > > > > Offhand, my guess would be that the commit-msg hook isn't platform > > independent and is giving you problems on Windows. As a workaround, > > you can amend your latest commit on master (git commit -a --amend) > > and copy+paste that suggested Change-Id into the message. > > > > -Chad > > > Chad, could you explain how to c&p the Change-ID into the message? I am > not familar with messaging the push command. > Thanks a lot. > > So, in that error response to you it said:
remote: Suggestion for commit message: [snip] remote: Change-Id: I5563ab61e3017eaeddd30ca270b9916d64f809cb That change-id is an acceptable unused one that you can use right away. So copy that, then amend your commit like I suggested (git commit -a --amend), paste the change-id in the footer. Then try pushing like you did (that part was correct :)) -Chad
_______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
