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

Bug 340283

Summary: History View is not showing tags that point to commits that are not contained in any branch history
Product: [Technology] EGit Reporter: Edwin Kempin <edwin.kempin>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mathias.kinzler, matthias.sohn
Version: 0.12   
Target Milestone: 0.12-M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
screenshots of the history in gitk and egit none

Description Edwin Kempin CLA 2011-03-17 05:23:37 EDT
Created attachment 191385 [details]
screenshots of the history in gitk and egit

Steps to reproduce:
1. on command line initialize an empty git repository
2. do two commits A and B
3. create a tag pointing to commit B
4. reset the branch to commit A
5. view history in gitk with --all option and see that both commits, the branch and the tag are shown (see attachment 'historyInGitk.png')
6. import the repository in egit and open the history view with 'Show All Branches' enabled
7. see that only the first commit A and the branch are shown (see attachment 'historyInEgit.png')

What is expected?
It is expected that also the tag pointing to commit B is shown in the EGit history view (same behaviour as in gitk).
Comment 1 Mathias Kinzler CLA 2011-03-21 04:01:00 EDT
Code review at http://egit.eclipse.org/r/#change,publish,2785,2
Comment 2 Matthias Sohn CLA 2011-03-28 18:04:44 EDT
merged as 78d2ed29f38d500bc4090c6bd0dd81ce52d1d5b2