Fix NPE in CommitDialog.getFileStatus() on first commit
commit56f45a8aae30c53c693762e7de339062dffe329a
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 5 Mar 2010 21:06:58 +0000 (5 22:06 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 5 Mar 2010 21:06:58 +0000 (5 22:06 +0100)
treeed3f3c27284d27815fcd258f87b96a0ef1415369
parentde2a3d222c1d2ac52f55995124cac6b0ab4f7c5b
Fix NPE in CommitDialog.getFileStatus() on first commit

HeadTree is null on first commit.

Bug: 299197
Change-Id: I811ca2594821d89a6bd06a44b4fac89591bbb709
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitDialog.java