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

Bug 315205

Summary: Push to local repo does not update index and working tree
Product: [Technology] JGit Reporter: Stefan Lay <stefan.lay>
Component: JGitAssignee: Project Inbox <jgit.core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 0.9.0   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Stefan Lay CLA 2010-06-01 08:49:47 EDT
After a push to a repository located in the file system the files on file system and the index are not updated.

The bug was posted to our newsgroup:
http://www.eclipse.org/forums/index.php?t=msg&th=169156&start=0&
Comment 1 Stefan Lay CLA 2010-06-01 10:28:09 EDT
The method org.eclipse.jgit.transport.Transport.push(...) does not update the index and the working tree of the remote repo on the local file system. Is this the intended behaviour?
Comment 2 Stefan Lay CLA 2010-06-02 05:00:18 EDT
I checked https://git.wiki.kernel.org/index.php/GitFaq#Why_won.27t_I_see_changes_in_the_remote_repo_after_.22git_push.22.3F and found:

The push operation is always about propagating the repository history and updating the refs, and never touches the working tree files. 

Therefore I close the bug.