Possible git status problem at case insensitive file system

45 views
Skip to first unread message

Frank Li

unread,
Aug 9, 2010, 12:22:47 AM8/9/10
to Git List, msysGit
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

unread,
Aug 9, 2010, 4:16:57 AM8/9/10
to Frank Li, Git List, msysGit
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

unread,
Jun 20, 2018, 7:25:54 AM6/20/18
to Frank Li, Git List, msysGit
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

unread,
Jun 23, 2018, 5:37:10 PM6/23/18
to Frank Li, "msysGit", "Git List"
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
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majo...@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 msy...@googlegroups.com
> To unsubscribe from this group, send email to
> msysgit+u...@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+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

Reply all
Reply to author
Forward
0 new messages