[73cat] Re: [versioning] git pull problem

  • From: Ondrej Vrabec < >
  • To:
  • Subject: [73cat] Re: [versioning] git pull problem
  • Date: Thu, 02 May 2013 14:42:38 +0200

Was the file modified before you did the pull? Please note that JGit (a third-party library we use as a git client) has certain limitations. One of them is that it has problems when merging modified files. So in order to successfully merge a branch into HEAD, all possible files to be merged (changed in the second branch) should be up to date locally.
If the file was up-to-date prior to the pull then yes, it's probably a bug in JGit, maybe related to line-endings on Windows.


On 05/01/2013 10:48 AM, Medea Gugushvili wrote:
" type="cite">

Has anyone else encountered similar problem during pull?

git merge of head with origin/mybranch failed because of these files: ".../name.java" 

During googling i found following thread which seems to be related:

In my case i was able to resolve issue from netbenas after i changed the conflicted file(just added spaces there) and commit it.

So does it looks like an issue or user fault?


[73cat] [versioning] git pull problem

Medea Gugushvili 05/01/2013

[73cat] Re: [versioning] git pull problem

Ondrej Vrabec 05/02/2013

[73cat] Re: [versioning] git pull problem

Medea Gugushvili 05/02/2013

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 25 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20150226.965aeb8). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm