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

Bug 334998

Summary: Compare with Branch / Tag doesn't allow editing.
Product: [Technology] EGit Reporter: James Blackburn <jamesblackburn+eclipse>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: hjg.com.ar, mathias.kinzler, matthias.sohn, mn, robin
Version: 0.11   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description James Blackburn CLA 2011-01-21 06:54:08 EST
Eclipse EGit (Incubation)	0.11.0.201101181937	org.eclipse.egit.feature.group
  Eclipse EGit - Source (Incubation)	0.11.0.201101181937	org.eclipse.egit.source.feature.group
  Eclipse JGit (Incubation)	0.11.0.201101171634	org.eclipse.jgit.feature.group
  Eclipse JGit - Source (Incubation)	0.11.0.201101171634	org.eclipse.jgit.source.feature.group

The new compare with > "branch or tag" functionality seems to use the latest local history as the left hand side.  This prevents editing.  
Conversely compare with > HEAD does allow editing.
Comment 1 Mathias Kinzler CLA 2011-01-25 08:48:01 EST
Code review at

http://egit.eclipse.org/r/#change,2326
Comment 2 Matthias Sohn CLA 2011-01-25 18:22:37 EST
merged as eb2151b248a9725704181db27351b3adead5e44d
Comment 3 James Blackburn CLA 2011-09-29 07:50:46 EDT
This still seems to happen in 1.1.0.

In a source file:
  Right Click > Compare with > Branch, Tag or Reference
Choose another branch, and the compare editor opened has Local History on the LHS.

Same happens using the context menu in a resource navigator.
Comment 4 Hernan Gonzalez CLA 2011-11-13 15:50:17 EST
Indeed, it's still happening -systematically- here (1.1.0 with Indigo)
Comment 5 Kevin Sawicki CLA 2011-11-13 22:05:58 EST
I think this may be a duplicate of bug345409 which was recently fixed.

Can you try with the latest 1.2 nightly?
Comment 6 Mykola Nikishov CLA 2012-03-03 11:12:56 EST
[Batch change] Remove passed Target Milestones

If anyone on CC list is going to fix/implement this, feel free to assign a new, post-1.3/2.0, target milestone.
Comment 7 Robin Stocker CLA 2013-09-27 12:24:38 EDT

*** This bug has been marked as a duplicate of bug 345409 ***