Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 394056

Summary: new commit message template for Mylyn projects not used
Product: z_Archived Reporter: Frank Becker <eclipse>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: trivial    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Frank Becker CLA 2012-11-11 11:22:28 EST
Bug# 370038 change the commit message template but if I create new reviews for Gerrit I always get the old message template. 

Maybe this is only because I work in bootstrap mode.

Review  https://git.eclipse.org/r/#/c/8630/ change the default commit message template.
Comment 1 Frank Becker CLA 2012-11-11 14:05:51 EST
Here some more details.
TeamUIUtil.getComment() is called with an empty IResource[] array so I get FocusedTeamUiPlugin.getDefault().getPreferenceStore().getString(FocusedTeamUiPlugin.COMMIT_TEMPLATE);
Comment 2 Steffen Pingel CLA 2012-11-12 05:11:24 EST
How are you triggering the commit? It works for me if I use Team > Commit on a file or Commit on the repository in the Git repositories view. Note that there are some limitations with the staging view (bug 348744).
Comment 3 Frank Becker CLA 2012-11-18 16:16:55 EST
(In reply to comment #2)
> How are you triggering the commit? It works for me if I use Team > Commit on
> a file or Commit on the repository in the Git repositories view. Note that
> there are some limitations with the staging view (bug 348744).

I work with Git Staging View.

Team > Commit  works, but on my Mac I can not use cmd-#.
Comment 4 Steffen Pingel CLA 2013-04-17 18:06:45 EDT
That is a known limitation, see bug 348744.

*** This bug has been marked as a duplicate of bug 348744 ***