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

Bug 337967

Summary: Wrong "refs/tags/xxx" text decoration when HEAD is detached
Product: [Technology] EGit Reporter: Stefan Lay <stefan.lay>
Component: UIAssignee: Philipp Thun <philipp.thun>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.org, robin.rosenberg
Version: 0.12   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Example repo which shows the error none

Description Stefan Lay CLA 2011-02-23 08:18:49 EST
When HEAD points to a commit where neither a branch or a tag points to there is a decoration"refs/tags/xxx" in the package explorer. This is wrong.
Comment 1 Philipp Thun CLA 2011-02-28 10:40:10 EST
Hmm, cannot reproduce this right now.
Comment 2 Stefan Lay CLA 2011-04-04 05:28:08 EDT
Created attachment 192443 [details]
Example repo which shows the error

The example repo is in a state where HEAD is detached. In my Eclipse with the nightly built EGit there is a decorator refs/tags/1.2.
Comment 3 Philipp Thun CLA 2011-05-26 10:30:58 EDT
Fix proposed: http://egit.eclipse.org/r/3544
Comment 4 Robin Rosenberg CLA 2011-05-27 07:08:33 EDT
85ae0ed70f40faeef5b2a96ddfa3e32ed9c07734 merged
Comment 5 François Rey CLA 2011-06-08 05:47:06 EDT
*** Bug 341428 has been marked as a duplicate of this bug. ***