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

Re: windows git problem

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Sep 13, 2011, 10:10 UTC
Message-ID
<CACsJy8B4RY4Yst9TPhNCOj8AUziFa+O+2Msen9Bt=QHo5SW=sA@mail.gmail.com>
In-Reply-To
<4E6E5000.3040203@tandvsolns.co.uk>
On Tue, Sep 13, 2011 at 4:31 AM, luis <luis@tandvsolns.co.uk> wrote:
> Exactly!
>
> so the next time someone (in windows) does a commit, they remove the file or
> the folder contents!

May be this commit dc1ae70 (Support case folding for git add when core.ignorecase=true). Forcing core.ignorecase to add_to_index() seems a bit too strong for me. We could have added a new flag, ADD_CASE_INSENSITIVE, to add_to_index() and enabled it only to selected commands instead.

Or maybe we can improve the situation a little bit by warning users this case.
-- 
Duy
Previous: luisNext: Nguyen Thai Ngoc Duy
Message 4 of 5 in “windows git problem”
  1. luisSep 12, 2011
  2. Michael WittenSep 12, 2011
  3. luisSep 12, 2011
  4. Nguyen Thai Ngoc DuySep 13, 2011
  5. Nguyen Thai Ngoc DuySep 13, 2011

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.