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

Bug 339556

Summary: Git Config filemode not supported (possibly only in the add to index feature)
Product: [Technology] EGit Reporter: Philipp Feigl <philipp.feigl>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: christian.halstrick, m.hohlfeld, matthias.sohn
Version: 0.11   
Target Milestone: 2.1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Philipp Feigl CLA 2011-03-10 12:18:28 EST
I'm heavily relying on the support of the git config option "filemode".
This is due the fact, that I'm working with samba shares and accessing the git repository from both sides - windows via IDE and linux via command line (ofc).

Due to the samba configuration, I get differnt access masks on the two endpoints for the files.

This was no problem when using git bash or git extensions under windows, as the both pay attention to the filemode config option.


When running a simple commit, the files to not show up as beeing changed while they are all marked as staged when using the "Add to Git Index" feature.

Would be great to get this fixed.
Comment 1 Marvin Hohlfeld CLA 2011-08-13 12:31:58 EDT
Some problem here. I have just cloned a repo on my Win 7 box, and after an "Add", all files are marked as modified.

This Problem does not occur, when I use the native git shell.

core.filemod is set on false in the repo conf and in the user conf but has no effect.

Please fix!
Comment 2 Matthias Sohn CLA 2012-09-07 16:33:47 EDT
This was fixed recently. 
Tested with nightly build version EGit	2.1.0.201208301123