# Possible git status problem at case insensitive file system

4 messages from 2010-08-09 to 2018-06-20. Participants: Frank Li, Johannes Sixt, Johannes Schindelin, Philip Oakley.
Thread: https://gitlist.dev/t/24674

## Frank Li, 2010-08-09 04:22

Subject: Possible git status problem at case insensitive file system
Message-ID: <AANLkTi=87fUaOH3Y0PVeeH5N7oCVVJyKY3jsf93jw-t7@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTi%3D87fUaOH3Y0PVeeH5N7oCVVJyKY3jsf93jw-t7%40mail.gmail.com

```
All:
        I use msysgit 1.7.0.2 at windows xp.
        Problem: git status will list tracked directory as untracked dir.
        Duplicate:
        1. mkdir test, cd test
        2. git init-db
        3. mkdir d, cd d
        4. touch a.c
        5. git add a.c
        6. git commit -a -m "test"
        7. cd ..
        8.  mv d d1
        9.  mv d1 D
       10. git status


# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       D/
nothing added to commit but untracked files present (use "git add" to track)

        D/ should be same as d/ at case insensitive file system.
        D/ should not listed by git status.

best regards
Frank Li

```

## Johannes Sixt, 2010-08-09 08:16

Subject: Re: Possible git status problem at case insensitive file system
Message-ID: <4C5FB979.1020904@viscovery.net>
URL: https://gitlist.dev/e/4C5FB979.1020904%40viscovery.net
In-Reply-To: <AANLkTi=87fUaOH3Y0PVeeH5N7oCVVJyKY3jsf93jw-t7@mail.gmail.com>

```
Am 8/9/2010 6:22, schrieb Frank Li:
> [about renaming a directory such that only the case changes]

This is normal/expected behavior. A patch series is in the works that
addresses the issue.

-- Hannes

```

## Johannes Schindelin, 2018-06-20 11:26

Subject: Re: [msysGit] Possible git status problem at case insensitive file system
Message-ID: <nycvar.QRO.7.76.6.1806201323150.11870@tvgsbejvaqbjf.bet>
URL: https://gitlist.dev/e/nycvar.QRO.7.76.6.1806201323150.11870%40tvgsbejvaqbjf.bet
In-Reply-To: <AANLkTi=87fUaOH3Y0PVeeH5N7oCVVJyKY3jsf93jw-t7@mail.gmail.com>

```
Hi Frank,

On Mon, 9 Aug 2010, Frank Li wrote:

> All:
>         I use msysgit 1.7.0.2 at windows xp.
>         Problem: git status will list tracked directory as untracked dir.

That is the *least* problem you have with that version: you are vulnerable
to several security issues.

Sadly, there were literally zero contributions from community members
using Windows XP to uphold XP support, so the latest Git for Windows you
can use (unless you build it yourself, fixing several compile issues by
now) is v2.10.

See https://gitforwindows.org/requirements.html for details.

Ciao,
Johannes

```

## Philip Oakley, 2018-06-20 23:31

Subject: Re: [msysGit] Possible git status problem at case insensitive file system
Message-ID: <C819900A5BFB45E0903348544ED79581@PhilipOakley>
URL: https://gitlist.dev/e/C819900A5BFB45E0903348544ED79581%40PhilipOakley
In-Reply-To: <AANLkTi=87fUaOH3Y0PVeeH5N7oCVVJyKY3jsf93jw-t7@mail.gmail.com>

```
Hi Frank,

Your system Clock looks to be providing the wrong date for your emails.

The last XP version was 
https://github.com/git-for-windows/git/releases/tag/v2.10.0.windows.1 so you 
may want to upgrade to that. (see FAQs 
https://github.com/git-for-windows/git/wiki/FAQ)

It won't solve the capitalisation problem - that is a Windows FS issue. Git 
assumes case matters, but the FS will fetch directories and branches case 
insensitively.

Philip


----- Original Message ----- 
From: "Frank Li" <lznuaa@gmail.com>
To: "Git List" <git@vger.kernel.org>; "msysGit" <msysgit@googlegroups.com>
Sent: Monday, August 09, 2010 5:22 AM
Subject: [msysGit] Possible git status problem at case insensitive file 
system


> All:
>        I use msysgit 1.7.0.2 at windows xp.
>        Problem: git status will list tracked directory as untracked dir.
>        Duplicate:
>        1. mkdir test, cd test
>        2. git init-db
>        3. mkdir d, cd d
>        4. touch a.c
>        5. git add a.c
>        6. git commit -a -m "test"
>        7. cd ..
>        8.  mv d d1
>        9.  mv d1 D
>       10. git status
>
>
> # On branch master
> # Untracked files:
> #   (use "git add <file>..." to include in what will be committed)
> #
> #       D/
> nothing added to commit but untracked files present (use "git add" to 
> track)
>
>        D/ should be same as d/ at case insensitive file system.
>        D/ should not listed by git status.
>
> best regards
> Frank Li
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> -- 
> -- 
> *** Please reply-to-all at all times ***
> *** (do not pretend to know who is subscribed and who is not) ***
> *** Please avoid top-posting. ***
> The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github 
> accounts are free.
>
> You received this message because you are subscribed to the Google
> Groups "msysGit" group.
> To post to this group, send email to msysgit@googlegroups.com
> To unsubscribe from this group, send email to
> msysgit+unsubscribe@googlegroups.com
> For more options, and view previous threads, visit this group at
> http://groups.google.com/group/msysgit?hl=en_US?hl=en
>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Git for Windows" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to msysgit+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> 


```
