Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 394056 - new commit message template for Mylyn projects not used
Summary: new commit message template for Mylyn projects not used
Status: RESOLVED DUPLICATE of bug 348744
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-11 11:22 EST by Frank Becker CLA
Modified: 2013-04-17 18:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***