Is there something special that I need to do to get EGit to work properly 
with the Change-Id commit hook?

:~/Git/gwt/trunk$ git push origin HEAD:refs/for/masterCounting objects: 59, 
done.
Delta compression using up to 4 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 1.24 KiB | 0 bytes/s, done.
Total 11 (delta 10), reused 0 (delta 0)
remote: Resolving deltas: 100% (10/10)
remote: Processing changes: refs: 1, done    
remote: ERROR: missing Change-Id in commit message footer
remote: Suggestion for commit message:
remote: Fix errors in Eclipse and ANT builds related to super source dir in
remote: test.
remote: Discussion and details here:
remote: 
https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/gr5H1sp11jU
remote: Change-Id: I73daa934dfbce1a4eca486153992dc1652450b58
remote: 
remote: Hint: To automatically insert Change-Id, install the hook:
remote: curl -Lo `git rev-parse --git-dir`/hooks/commit-msg 
https://gerrit-review.googlesource.com/tools/hooks/commit-msg ; chmod +x 
`git rev-parse --git-dir`/hooks/commit-msg
remote: 
remote: 
To https://gwt.googlesource.com/gwt
 ! [remote rejected] HEAD -> refs/for/master (missing Change-Id in commit 
message footer)
error: failed to push some refs to 'https://gwt.googlesource.com/gwt'


I've run 'curl -Lo `git rev-parse --git-dir`/hooks/commit-msg 
https://gerrit-review.googlesource.com/tools/hooks/commit-msg ; chmod +x 
`git rev-parse --git-dir`/hooks/commit-msg' multiple times and verified 
that the commit_msg file is in my checkout's .git/hooks directory:

:~/Git/gwt/trunk/.git/hooks$ ls -l
total 44
-rw------- 1 splaktar splaktar  452 Apr  9 17:22 applypatch-msg.sample
-rwxrwxrwx 1 splaktar splaktar 4376 Jun 14 10:52 commit-msg

But when committing from Eclipse, I never get the Change-Id correctly added.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/4b66ca95-b68a-41e0-969a-43370705ba46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to