Allow to use the repository name in Git Label Decorations
commit14ac3efaab9305704a864903de54c76e33dd4043
authorMathias Kinzler <mathias.kinzler@sap.com>
Thu, 18 Mar 2010 16:28:50 +0000 (18 17:28 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 25 Mar 2010 23:55:49 +0000 (25 16:55 -0700)
tree6d317bc0741f6c51561153a89adeddb9394629ce
parent83c26754272bc930eff2b07edcb19c892657ae01
Allow to use the repository name in Git Label Decorations

Currently, the Git (text-) label decorations include variables for dirty,
staged, and branch. Since there are many repositories with the same "master"
branch, we should have a "repository name" variable. This should be the name
of the repository's directory. While not necessarily unique, this helps in
identifying the repository in the project explorer.

Bug: 306397

Change-Id: I08f8bc2681fc2440ca684bd1735a4a0d7468cea6
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/DecoratableResourceAdapter.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/GitLightweightDecorator.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/IDecoratableResource.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/GitDecoratorPreferencePage.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/uitext.properties