Fix RepositoriesViewLabelProvider
commiteab858938a0862036fda1063c2d997766a557838
authorMathias Kinzler <mathias.kinzler@sap.com>
Mon, 10 May 2010 17:21:19 +0000 (10 19:21 +0200)
committerMathias Kinzler <mathias.kinzler@sap.com>
Mon, 10 May 2010 17:21:19 +0000 (10 19:21 +0200)
treeefaf4ece53d7e5d1d3ef29daf68dbd5d52d628a2
parent6eb99d5e5763052400695728b60d274345653e20
Fix RepositoriesViewLabelProvider

If there are two branches with the same shortened name (e. g. a local
and a remote "master" branch), the current implementation wrongly
marks both of them as "checked out" if one of them is checked out.

The fix looks for the full branch name instead of the shortened name
in order to determine whether the icon should be decorated.

Change-Id:  Ib6652732cfecfa762c0aa810cb4a5226b46fc27b
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesViewLabelProvider.java