DESCRIPTION

Disable amend if the repository does not contain a commit

The amend toggle is disabled in commit dialog and staging view if the
repository does not contain a commit.

Change-Id: Ibac8a3efe7ad6fed2ba867e240bd288b98667c02
Signed-off-by: Marlie Beasley xxx@xxx.xxx


COMMENTS

author: Marlie Beasley
date: 2011-06-14 11:33:34.000000000

Uploaded patch set 2.

-------------------------------------
author: Brenden Conley
date: 2011-06-14 11:33:38.000000000

Patch Set 2:

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

-------------------------------------
author: Marlie Beasley
date: 2011-06-14 11:34:48.000000000

Patch Set 2:

rebased

-------------------------------------
author: Brenden Conley
date: 2011-06-14 11:41:12.000000000

Patch Set 2: Build Successful

Build Successful 
 
https://hudson.eclipse.org/sandbox/job/egit.gerrit/1045/ : SUCCESS

-------------------------------------
author: Juliet Cantu
date: 2011-06-14 22:27:45.000000000

Patch Set 2: (1 inline comment)



Line:224, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/CommitHelper.java -> We should disable amend for all kinds of conflicts and this
does not "scale". The problem is common enough to warrant
a solution in RepositoryState.

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