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

Bug 336652

Summary: Outgoing Deletions/Additions not shown in Synchronize
Product: [Technology] EGit Reporter: Nolan Lawson <nolan.lawson>
Component: CoreAssignee: Dariusz Luksza <dariusz.luksza>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk, dariusz.luksza, nolan.lawson
Version: 0.10.0   
Target Milestone: 0.11   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Nolan Lawson CLA 2011-02-08 15:36:37 EST
Steps to reproduce:

1. In any git repository, create a new branch.
2. In the new branch, delete or add a file
3. Commit the change.
4. Right-click on the project, then choose Team -> Synchronize.
5. Choose the new branch as the source and the ancestor branch as the destination (either remote or local - the result is the same).

Expected result:

See the deleted/added files in the Synchronize view.

Actual result:

Deleted or added files are not shown in the Synchronize view.  Strangely, if you click on the "Next Difference" button enough times, eventually the added file will be shown.  However, deleted files are never shown.

I'm using Egit 0.10.1 on Windows Vista x86 Service Pack 2.
Comment 1 Nolan Lawson CLA 2011-02-08 15:47:52 EST
I just updated to the nightly build (0.11.0.201102080929), and I noticed that added files are now being correctly shown in Synchronize.

However, deleted files are still not being shown.  It just shows the folder that the deleted file was contained in, without the file itself.
Comment 2 Dariusz Luksza CLA 2011-02-08 16:51:15 EST
This issue should be fixed with change:
http://egit.eclipse.org/r/2459

I hope it will be merged soon into 0.11 release branch.
Comment 3 Chris Aniszczyk CLA 2011-02-09 12:23:08 EST
Fixed. Thanks Dariusz.

Would be great to have this pushed to master also.
Comment 4 Nolan Lawson CLA 2011-02-09 14:10:55 EST
Thanks for the fix!
Comment 5 Dariusz Luksza CLA 2011-02-09 16:03:13 EST
(In reply to comment #3) 
> Would be great to have this pushed to master also.

It should be automatically merged when stable-0.11 will be merged into master.