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

Bug 341066

Summary: Pushing detached HEAD to repository does not update history view
Product: [Technology] EGit Reporter: Oyvind Harboe <oyvind.harboe>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christian.halstrick, robin
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Oyvind Harboe CLA 2011-03-28 02:36:24 EDT
Build Identifier: 

If I push a detached HEAD, then gitk will show HEAD pointing to origin/master immediately, I have to do a "fetch origin" before egit shows this correctly.

Reproducible: Always
Comment 1 Christian Halstrick CLA 2011-06-28 07:57:31 EDT
Where do you push to? Is your problem that when you push to the branch xyz of remote repo2 that your local remote trackin branch remote/repo2/xyz is not updated?
Comment 2 Oyvind Harboe CLA 2011-06-28 08:00:54 EDT
(In reply to comment #1)
> Where do you push to? Is your problem that when you push to the branch xyz of
> remote repo2 that your local remote trackin branch remote/repo2/xyz is not
> updated?

I don't have a local remote tracking branch, this is for the detached HEAD case.
Comment 3 Robin Stocker CLA 2013-09-28 05:31:14 EDT
There were some fixes in this area a while ago, I haven't seen a bug where a remote-tracking branch was not updated on push in a while. If this is still the case, please add a comment with specific instructions how to reproduce.