Git Label Decorations of "detached" HEAD
commit0dd8734e72664d0d76b1fee70ac5ed79eaaf9b69
authorMathias Kinzler <mathias.kinzler@sap.com>
Tue, 18 May 2010 17:27:39 +0000 (18 19:27 +0200)
committerMathias Kinzler <mathias.kinzler@sap.com>
Tue, 18 May 2010 17:27:39 +0000 (18 19:27 +0200)
tree47a3da78481291884d7d22778883c299e7128cf7
parent114eefd782f99147e1cec381437950c4de2f43ac
Git Label Decorations of "detached" HEAD

In the case of "detached" HEAD, currently, there is only
the commit ID (truncated) shown in the Project label decoration.
This fix implements the suggestions collected in a mail thread
on the egit-dev mailing list by adding the information which
tag or remote branch is pointing to the currently checked out
branch.

Change-Id:  I70c791f9552c6201b1c66488ab45f8186ec4c28d
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/Activator.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/RepositoryUtil.java [new file with mode: 0644]
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/DecoratableResourceAdapter.java