[historyView] Ref shortening with "..." can be longer than original
commit266c2790091598e93324b88e1d530c6a0c127d00
authorRobin Stocker <robin@nibor.org>
Fri, 14 Feb 2014 14:58:21 +0000 (14 15:58 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 16 Feb 2014 21:12:14 +0000 (16 22:12 +0100)
treee8cf311818df88cdf95d99d61abd9099fdcfc445
parenta04f8f83df45661037cb7976148ed4e5d3a4a01a
[historyView] Ref shortening with "..." can be longer than original

Also count the "..." for the max ref length. To compensate for
shortening more than before, increase the default max length to 18.

Before: "origin/stable-3..."
After:  "origin/stable-3.3"

Bug: 428201
Change-Id: I5a79b98902268f445355aa60f7747f0d448bd259
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/PluginPreferenceInitializer.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/SWTPlotRenderer.java