| Summary: | EGit error pushing changes to origin | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Alessio Pollero <alessio.pollero> | ||||||
| Component: | Core | Assignee: | Project Inbox <egit.core-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P3 | CC: | alessio.pollero, matthias.sohn, robin | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 2.1-M1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows Server 2008 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Alessio Pollero
Created attachment 207935 [details]
Screenshot of the error
Created attachment 207936 [details]
Error log of the issue
I had to do git merge on the last commit to succeed pushing correctly the last commit. EGit had automatically created a merge with that commit, really strange ... If you look into the error you'll see that JGit complained that there is nothing to push. - From which local branch did you try to push ? - To which remote branch did you intend to push? - What was the refspec you used for pushing? The refspec is defining how to map local branches to branches in the remote repository I was in the master local branch and i tried to push as usual in the origin master . I never created a branch in this project/repository, seems that JGit automatically created a branch after an error during the first push operation, in fact after the first error i get the : "everything was up to date", but the first error caused this behaviour. The first error was : !ENTRY org.eclipse.core.resources 4 1 2011-12-05 16:43:00.456 !MESSAGE Core exception while retrieving the content description !STACK 1 org.eclipse.core.internal.resources.ResourceException: Resource is out of sync with the file system: '/juakari2fjssco/juakari2fjssco.log'. (In reply to comment #5) > I was in the master local branch and i tried to push as usual in the origin > master . > I never created a branch in this project/repository, seems that JGit > automatically created a branch after an error during the first push operation, > in fact after the first error i get the : "everything was up to date", but the > first error caused this behaviour. > > The first error was : > > !ENTRY org.eclipse.core.resources 4 1 2011-12-05 16:43:00.456 > !MESSAGE Core exception while retrieving the content description > !STACK 1 > org.eclipse.core.internal.resources.ResourceException: Resource is out of sync > with the file system: '/juakari2fjssco/juakari2fjssco.log'. This doesn't look like an error coming from EGit, but rather like you changed some files which are in the Eclipse workspace from outside Eclipse. I can't imagine how EGit would create a branch when push hits an error. Please provide step by step instructions how to reproduce your problem. Which EGit version are you using ? "nothing to push" is not a severe error, not displaying this in a result dialog is bad, this was fixed in the meantime (tried with recent EGit 2.1-SNAPSHOT) |