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

Re: [PATCH] fast-import.c: always honor the filename case

From
Torsten Bögershausen <tboegi@web.de>
Date
Feb 3, 2014, 20:21 UTC
Message-ID
<52EFFA36.8090305@web.de>
In-Reply-To
<CAD_8n+RZACW0380co75gWSwVmCJdcH4COsySTF3BFCyKEumXNA@mail.gmail.com>
[]
Show 5 quoted lines
> So to summarize, when fast-import uses strncmp_icase (what fast-import does now) import on a repository where ignorecase=true is wrong.  My patch, "fast-import.c: always honor the filename case" fixes this.  Can you verify?
>
> Thanks in advance,
> Reuben
>
Yes, I can verify. My feeling is that
a) the fast-export should generate the rename the other way around.
   Would that be feasable ?
   Or generate a real rename ?
  (I'm not using fast-export or import myself)
b)  As a workaround, does it help if you manually set core.ignorecase false ?
c)  Does it help to use git-hg-remote ? (could be another workaround)

And no, 50906e04e8f48215b0 does not include any test cases. (try git show 50906e04e8)

This is only a short answer, I can prepare a longer answer about ignorecase the next days. /Torsten

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 9 in “fast-import.c: always honor the filename case”
  1. fast-import.c: always honor the filename caseReuben Hawkins, Feb 2, 2014
  2. Torsten BögershausenFeb 2, 2014
  3. Jeff KingFeb 2, 2014
  4. Junio C HamanoFeb 3, 2014
  5. Torsten BögershausenFeb 3, 2014
  6. Junio C HamanoFeb 4, 2014
  7. Torsten BögershausenFeb 5, 2014
  8. Torsten BögershausenFeb 9, 2014
  9. Torsten BögershausenFeb 11, 2014

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.