Community
Participate
Working Groups
The (Egit) BranchOperation currently only works correctly for local branches. You can execute it for remote branches or tags as well, but the result is quite different from what happens in msysgit: HEAD points to the remote branch or the tag, respectively, while in msysgit, HEAD points to the commit referenced by the remote branch/head. Before we can fix BranchOperation, we need a way to update HEAD in such a way as to point to a commit. At the moment, RefUpdate is used for updating HEAD, but the only method there is link(String) which requires are ref name. Please provide some API to allow fixing the issues with BranchOperation.
http://egit.eclipse.org/r/680
The change above is just the first part of this: it fixes the BranchOperation class. The second part is to enable the checkout for tags in the UI.
Pushed Ie24ab3ac to master.
With http://egit.eclipse.org/r/718, this should be fixed. Commit: 3813c0d8461221ad482270369791cd79a89d4c1a