Avoid multiple head changed warnings in commit message.
commit637aa83a786c33804f1dddaec521f9a81b909ba6
authorMichael Keppler <michael.keppler@gmx.de>
Fri, 22 Nov 2013 17:18:43 +0000 (22 18:18 +0100)
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>
Sat, 23 Nov 2013 16:20:21 +0000 (23 11:20 -0500)
treed0c62293c54390c139f957e611e762be167e67f2
parentf6e6aaf8e4fd7df7bfc78dc759e84d98997d8407
Avoid multiple head changed warnings in commit message.

I have experienced a commit message to contain that warning two times.
As I'm not sure of the control flow to cause that, the fix consists only
of checking that the commit message does not yet have the warning before
adding it.

Change-Id: I1b6b56acb6e578c49d4ed10b45f1deef547ed94b
Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java