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

Bug 362338

Summary: Drag and dropping a commit from the History view doesn't give an expected result
Product: [Technology] EGit Reporter: Tomasz Zarna <tomasz.zarna>
Component: MylynAssignee: Project Inbox <egit.mylyn-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: b.muskalla
Version: 1.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.