Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353286 - Push to upstream does not update HEAD Pointer
Summary: Push to upstream does not update HEAD Pointer
Status: CLOSED DUPLICATE of bug 317411
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 03:51 EDT by Holger Staudacher CLA
Modified: 2011-08-02 07:19 EDT (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 Holger Staudacher CLA 2011-07-28 03:51:12 EDT
My workflow is the following:
I work in a topic branch. After my work is done I pull changes from the remote. After this I rebase the topic branch against the local master. After the rebase I try to merge the topic branch into the master. The last step I try to do is pushing my changes. I achieve this by clicking the "Push to Upstream" context menu item in the git view.

The push works, all changes are available in my remote afterwards. But there is one ugly issue. THe push does not update the origins HEAD pointer. When I go to the command line a git status tells me: I'm on master and this master is one commit ahead of the origin master. 

To fix this I need to pull again, this updates the HEAD pointer.

So, maybe this is a configuration issue. But I believe this is a bug either in jgit or this should be configured by egit automatically.
Comment 1 Matthias Sohn CLA 2011-08-02 07:19:40 EDT
this was fixed recently

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