Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340283 - History View is not showing tags that point to commits that are not contained in any branch history
Summary: History View is not showing tags that point to commits that are not contained...
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.12   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.12-M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-17 05:23 EDT by Edwin Kempin CLA
Modified: 2011-03-28 18:04 EDT (History)
2 users (show)

See Also:


Attachments
screenshots of the history in gitk and egit (4.66 KB, application/zip)
2011-03-17 05:23 EDT, Edwin Kempin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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