Bug 394683 - Compare Editor opened via Synchronize view shows wrong commit hash and author on the right
Summary: Compare Editor opened via Synchronize view shows wrong commit hash and author...
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 2.2   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2012-11-20 11:23 EST by Dani Megert CLA
Modified: 2016-09-01 16:08 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2012-11-20 11:23:20 EST
2.2.0.201211150703.

The Compare Editor opened via Synchronize view shows the wrong commit hash and author on the right.


1. change a shared file, e.g. 'GitHistoryPage' and save it
2. select 'org.eclipse.egit.ui' in the 'Package Explorer'
3. context menu > Team > Synchronize Workspace
4. click on the changed file in the 'Synchronize' view

==> the right side will show the remote commit hash of the tip instead of the commit which changed the file the last time.

If one uses Team > Compare With > HEAD, one gets the correct result on the right side.
Comment 1 Dani Megert CLA 2012-11-20 11:47:06 EST
(In reply to comment #0)

> If one uses Team > Compare With > HEAD, one gets the correct result on the
> right side.

Actually, only when one does this on the changed file. If I do it on the project, then it also uses the tip.