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