DESCRIPTION

Fix staging view to respect project-specific commit message template

When no resources where selected when staging view asked
CommitMessageComponent to calculate a commit message Mylyn didn't have
any project to load a project specific commit message template from.

Bug: 348744
Change-Id: I1ce531aaaceb7f6ce6d5f0f1358919a97e64be76
Signed-off-by: Douglas Trujillo xxx@xxx.xxx

COMMENTS

author: Douglas Trujillo
date: 2016-09-13 23:23:12.000000000

Uploaded patch set 1.

-------------------------------------
author: Brenden Conley
date: 2016-09-13 23:23:18.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/9055/

-------------------------------------
author: Charles Atkins
date: 2016-09-13 23:45:21.000000000

Patch Set 1:

(1 comment)

Line:685, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitMessageComponent.java -> This adds all projects from the repository? What if they have different templates?

-------------------------------------
author: Brenden Conley
date: 2016-09-13 23:47:48.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/egit/job/egit.gerrit/9055/ : SUCCESS

-------------------------------------
author: Douglas Trujillo
date: 2016-09-13 23:57:04.000000000

Patch Set 1:

(1 comment)

Line:685, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitMessageComponent.java -> I think this problem is unavoidable if a repository contains more than one project since a git commit can span more than one project.

Do you think it makes sense to define different templates for projects living in the same git repository ?

-------------------------------------
author: Charles Atkins
date: 2016-09-14 15:58:50.000000000

Patch Set 1: Code-Review+1

(1 comment)

Line:685, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitMessageComponent.java -> No, I guess it doesn't make much sense.

-------------------------------------
author: Douglas Trujillo
date: 2016-09-14 22:38:39.000000000

Patch Set 1: Code-Review+2

-------------------------------------
author: Gerrit Johnathan Pham
date: 2016-09-14 22:38:57.000000000

Change has been successfully merged into the git repository by Douglas Trujillo

-------------------------------------
