Patch Set 1: I would prefer that you didn't submit this

- StringIndexOutOfBoundsException when I select "Compare With -> Git Index" in package Explorer. In this case the String "Index" is truncated.

- When I select "Compare with Working Tree" in History View or "Compare With HEAD revision" in package explorer the editor tab contains "Current.." instead of "Current"

Maybe the truncation method should check if the revision String is a SHA-1 or not.