From: Michael Ludwig Date: Mon, 25 Jan 2010 11:43:45 GMT Subject: Re: git status showing phantom modifications Message-ID: <4017EB11-4B29-4599-B19A-91BC39632BBF@xing.com> In-Reply-To: Am 25.01.2010 um 12:03 schrieb Tay Ray Chuan: > On Mon, Jan 25, 2010 at 6:41 PM, Michael Ludwig wrote: >> michael@wladimir:/cygdrive/m/REPOS6.TECH.git/comp :-) git st >> # On branch master >> # Changed but not updated: >> # (use "git add ..." to update what will be committed) >> # (use "git checkout -- ..." to discard changes in working directory) >> # >> # modified: mw/wsdl-version.txt >> # modified: net/httpsrvr/iis6.wodo >> # ... and about 100 more of that ... > > try running git diff. I suspect the changes are to filemodes. What > does your git config look like regarding this (particularly > core.fileMode)? Running git diff informed me there were no changes to content, which is what I forgot to add to the description of the problem. Unfortunately, right now I'm not at the system where this occurred, so I can't say what git config looks like. I did not, however, make any customization other than user.email and alias.st and some others. Reading up about core.fileMode in git-config(1), I think you've pointed me to the solution. I should probably just set it to false. If that doesn't solve the issue, I'll report back. Google also found me an old patch that might be related to the problem: [PATCH] Force core.filemode to false on Cygwin. http://marc.info/?l=git&m=116754085018507&w=2 -- Michael.Ludwig (#) XING.com