Can now amend previous commit.
commit39c9a34ce4f73f37a1046778e4dbc8ca3713d715
authorDave Watson <dwatson@mimvista.com>
Sun, 24 Jun 2007 02:15:51 +0000 (23 22:15 -0400)
committerDave Watson <dwatson@mimvista.com>
Wed, 27 Jun 2007 13:42:13 +0000 (27 09:42 -0400)
tree1d3c6db590fe4a81d699c15eec3f1cb5c050bf3b
parenta4337738a6b61e5804971ca546e988d4de87b850
Can now amend previous commit.

If no items differ between the index and HEAD, the user will be asked
if they want to amend - if so, the amend box is forced on, and the
previous commit message is populated. Additionally, checking the amend
box should amend the previous commit with those changed items.

Signed-off-by: Dave Watson <dwatson@mimvista.com>
org.spearce.egit.ui/src/org/spearce/egit/ui/internal/actions/CommitAction.java
org.spearce.egit.ui/src/org/spearce/egit/ui/internal/dialogs/CommitDialog.java
org.spearce.jgit/src/org/spearce/jgit/lib/Commit.java