Bug 394697 - Synchronize with Workspace: No changes found
Summary: Synchronize with Workspace: No changes found
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-20 13:34 EST by Jan Willies CLA
Modified: 2022-12-10 10:17 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Willies CLA 2012-11-20 13:34:15 EST
I want to merge a remote branch_r into my local branch_l:

1. Open Git Repository Exploring
2. Right click on "Branches" -> "Remote Tracking" -> "branch_r" and select "Synchronize with workspace"
3. Perspective switches to "Team Synchronizing" and a pop up with "Synchronizing Git: No changes found" appears. 

Expected behavior:
Eclipse should show the differences between the branches and let me synchronize the changes from one side to the other (on a single file basis)


-- Configuration Details --
Product: Spring Tool Suite 3.1.0.201210061306-RELEASE (org.springsource.sts.ide)
Installed Features:
 org.eclipse.egit 2.1.0.201209190230-r
Comment 1 Vasili Gulevich CLA 2022-12-07 09:24:36 EST
It worked for a few releases, but now when using a feature on a workspace without projects, no changes are detected.
Comment 2 Thomas Wolf CLA 2022-12-10 10:17:41 EST
(In reply to Vasili Gulevich from comment #1)
> It worked for a few releases, but now when using a feature on a workspace
> without projects, no changes are detected.

AFAIK "Synchronize with Workspace" has never worked if the workspace did not contain the files. The "Team Synchronize" framework only works properly for Eclipse IResources, i.e., projects, folders, and files that are in the Eclipse workspace.

Try "Compare with Working Tree" (context menu on the branch in the Git Repositories view) instead.