git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git status showing phantom modifications

From
MLMichael Ludwig <michael.ludwig@xing.com>
Date
Jan 25, 2010, 11:43 UTC
Message-ID
<4017EB11-4B29-4599-B19A-91BC39632BBF@xing.com>
In-Reply-To
<be6fef0d1001250303p2c12381ao7d3a8a1d48eebb56@mail.gmail.com>
Am 25.01.2010 um 12:03 schrieb Tay Ray Chuan:
Show 14 quoted lines
> On Mon, Jan 25, 2010 at 6:41 PM, Michael Ludwig <michael.ludwig@xing.com> wrote:
>> michael@wladimir:/cygdrive/m/REPOS6.TECH.git/comp :-) git st
>> # On branch master
>> # Changed but not updated:
>> #   (use "git add <file>..." to update what will be committed)
>> #   (use "git checkout -- <file>..." 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
Previous: Tay Ray ChuanNext: Michael Ludwig
Message 3 of 7 in “git status showing phantom modifications”
  1. Michael LudwigJan 25, 2010
  2. Tay Ray ChuanJan 25, 2010
  3. Michael LudwigJan 25, 2010
  4. Michael LudwigJan 26, 2010
  5. Tay Ray ChuanJan 27, 2010
  6. Johannes SixtJan 27, 2010
  7. Michael LudwigJan 28, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.