Git and egit conflict about file mode 10064 although filemode is set to false

Resembles to

  1. How do I make Git ignore file mode (chmod) changes?
  2. How do I remove files saying "old mode 100755 new mode 100644" from unstaged changes in Git?

but is most likely a different problem.

  • Dummy questions about setting up git on amazon cloud ec2
  • eclipse search in history
  • Ignore SVN files when exporting a WAR file from Eclipse?
  • Commit project not showing Commit Changes to Git Repository pop up window in eclipse
  • Revision Control System Recommendations
  • Maven: package does not exist
  • System is win7 x64.

    The problem

    Although filemode is false, msysgit keeps keeps seeing changes with deleted file mode 100644 or new file mode 100644 although the filemode is set to false:

    [core]
        filemode = false
    

    According to egit there are no changes. I can commit from msysgit, but that makes egit think there are changes, and committing amend from egit exits with

    ‘Committing changes’ has encountered a problem. An internal error
    occured.
    No changes.

    I don’t understand this mess, since filemode is clearly set to false…

    I don’t care about filemodes but want to use egit and msysgit.
    How do i get out of this trap?

  • Why does tracking branch create a new remote branch?
  • How to avoid a “can be fast-forwarded” message after a git reset --hard <sha1>?
  • PhpStorm how to configure git push to a remote repository?
  • Has no default translation and R is not being generated
  • Porting a fork of a software to a new version
  • Status D when checkout in git
  • One Solution collect form web for “Git and egit conflict about file mode 10064 although filemode is set to false”

    Somehow i was able to get rid of this problem by repeatedly amend commiting from both git-gui and eclipse egit. I also staged the unstaged file mode changes before making such commits.

    Sorry, i can’t make this answer more satisficing. Hope this helps someone.

    Git Baby is a git and github fan, let's start git clone.