Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311364

Summary: EGit Label Decoration: truncated Commit-ID should end with ellipsis
Product: [Technology] EGit Reporter: Mathias Kinzler <mathias.kinzler>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matthias.sohn
Version: unspecified   
Target Milestone: 0.8.0   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Mathias Kinzler CLA 2010-05-03 08:38:36 EDT
I Head becomes detached, then the Git Label decorations show the shortened commit ID (first six digits), e.g. 

<project name> [123456]. 

This may be confusing to the end user, as they can not clearly distinguish this from a branch which happens to be named "123456". A possible solution could be to add ellipsis to the label in order to indicate that it has been shortened, i.e. 

<project name> [123456...].

This also resembles the behavior in the command line.
Comment 1 Mathias Kinzler CLA 2010-05-03 08:41:21 EDT
In order to reproduce, simply use git checkout HEAD~2 in the command line and see how Eclipse behaves.
Comment 2 Mathias Kinzler CLA 2010-05-07 09:05:26 EDT
http://egit.eclipse.org/r/666
Comment 3 Mathias Kinzler CLA 2010-05-11 04:14:16 EDT
http://egit.eclipse.org/r/#change,675
Comment 4 Matthias Sohn CLA 2010-05-11 19:03:27 EDT
merged as egit commit 78829de43e61457cbff5e2639b9db0832a92277e
Comment 5 Matthias Sohn CLA 2010-05-12 14:14:58 EDT
closed