Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362338 - Drag and dropping a commit from the History view doesn't give an expected result
Summary: Drag and dropping a commit from the History view doesn't give an expected result
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Mylyn (show other bugs)
Version: 1.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 12:06 EDT by Tomasz Zarna CLA
Modified: 2011-10-28 12:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2011-10-28 12:06:56 EDT
I20111027-1800 + EGit 1.2.0.201110271927	+ Mylyn 3.7.0.I20111027-1449

Steps:
1. Checkout a Patch Set from Gerrit, eg. git fetch http://review.mylyn.org/p/org.eclipse.mylyn.tasks refs/changes/89/89/3 && git checkout FETCH_HEAD
2. Open the Task Editor for an existing bugzilla
3. In the Package Explorer, right click on the project and select Show In > History
4. Drag and drop the last commit onto the Task Editor
5. Verify the patch contents
IS: the patch has correct name and headers but the diff itself is from a different commit
SHOULD BE: the diff should be the same as in the checked out Patch Set

Maybe the fact I was working on a detached head is the culprit here.