Possible git status problem at case insensitive file system

4 messages, 4 authors, 2018-06-20 · open the first message on its own page

Possible git status problem at case insensitive file system

From: Frank Li <hidden>
Date: 2016-06-15 22:49:16

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

Re: Possible git status problem at case insensitive file system

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:49:16

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

Re: [msysGit] Possible git status problem at case insensitive file system

From: Johannes Schindelin <hidden>
Date: 2018-06-20 11:25:57

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

Re: [msysGit] Possible git status problem at case insensitive file system

From: Philip Oakley <hidden>
Date: 2018-06-20 23:31:51

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" <redacted>
To: "Git List" <redacted>; "msysGit" <redacted>
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.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help