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

Re: Git status reports untracked on tracked files

From
Karsten Blees <karsten.blees@gmail.com>
Date
Jun 4, 2013, 16:39 UTC
Message-ID
<51AE1836.7060701@gmail.com>
In-Reply-To
<CAO-zUniGNqxLJ9JrRMtfGF7O52sQsrGBoh0HJf+zh0czwt7ETQ@mail.gmail.com>
Am 04.06.2013 11:05, schrieb Andrey Kiyanovsky:
Show 25 quoted lines
> I have tried Git 1.8.3 for Windows. Case is fixed. Thank you very much!
> 
> 2013/6/4 Jeff King <peff@peff.net>:
>> On Wed, May 29, 2013 at 11:40:56AM +0300, Andrey Kiyanovsky wrote:
>>
>>> Git version 1.8.1.2. for Windows
>>>
>>> Git config:
>>>
>>> [core]
>>>       repositoryformatversion = 0
>>>       filemode = false
>>>       bare = false
>>>       logallrefupdates = true
>>>       symlinks = false
>>>       ignorecase = true
>>>       hideDotFiles = dotGitOnly
>>>       compression = 1
>>
>> In the past there have been some problems with status listings of
>> untracked files when core.ignorecase is in use. I fixed some cases with
>> a commit that went into v1.7.8, but some problems remained. Karsten
>> Blees (cc'd) did some work that went into git v1.8.1.6, but I do not
>> know off-hand if it would fix your case or not.
>>
Yep, the hash collision bug can definitely cause this with ignorecase=true, glad it helped.
Another case in which Git for Windows will report tracked files as untracked is if you upgrade from < 1.7.10 with non-ASCII file names in the repository. Particularly annoying are hyphens (\u00ad), which look just like ASCII minus (\u002d). See [1] for details.
[1] https://github.com/msysgit/msysgit/wiki/Git-for-Windows-Unicode-Support
Previous: Andrey Kiyanovsky
Message 4 of 4 in “Git status reports untracked on tracked files”
  1. Andrey KiyanovskyMay 29, 2013
  2. Jeff KingJun 3, 2013
  3. Andrey KiyanovskyJun 4, 2013
  4. Karsten BleesJun 4, 2013

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.