| Summary: | [sync] wrong compare input for files in node <working tree> and <staged changes> | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Stefan Lay <stefan.lay> | ||||||
| Component: | UI | Assignee: | Dariusz Luksza <dariusz.luksza> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | caniszczyk, dariusz.luksza | ||||||
| Version: | 0.9.0 | ||||||||
| Target Milestone: | 0.10.0-M3 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Stefan Lay
Change: http://egit.eclipse.org/r/1930 should fix this issue. Created attachment 184588 [details]
zipped repository to reproduce error
Created attachment 184589 [details]
compare view with conflicts
OK, now I see the problem. For some reasons the common ancestor of Calc4.java is empty. I'll investigate it later today. As I mentioned before this issue is connected with resolving of common ancestor for staged file. Here is scenario for reproducing this issue: * create and commit new file to repository * make change in nearly created file and stage it * launch synchronization with included local changes When compare view for new this file is launched it shows conflicting change because common ancestor is empty. In this case common ancestor should be same as remote version. Therefore we have an issue in algorithm of calculating common ancestor. I've created new bug for tracking this issue 331929 Fixed with 708e8f6ce344648347e6c287e144e5168856e3d4 Double clicking on staged change still shows HEAD~1 on the right hand side. Fixed with 4e13a29ea43611d5e34467df72d85b7a757ec4a8 |