Re: [PATCH] fast-import: add options to enable/disable case folding
- From
Mike Hommey <mh@glandium.org>
- Date
- Apr 18, 2015, 07:36 UTC
- Message-ID
- <20150418073611.GA13410@glandium.org>
- In-Reply-To
- <xmqqwq1appcf.fsf@gitster.dls.corp.google.com>
On Fri, Apr 17, 2015 at 11:44:00AM -0700, Junio C Hamano wrote:
Show 10 quoted lines
> So perhaps we should rip the case folding out altogether instead? > The entry for the change in the Release Notes may say: > > * "git fast-import" incorrectly case-folded the paths recorded in > the history when core.ignorease is set (i.e. the repository's > working tree is incapable of expressing paths that differ only in > their cases); this old bug was reported in 2012 and was finally > corrected. > > or something like that?
Is anything else then git-p4 known to rely on case folding? If not, I guess that's a reasonable plan. We could even add an option to fast-import that would allow to turn case folding back on, and make git-p4 use it, so that its expectations are fulfilled. Although at some point, it could (should?) do case folding itself(?)
Mike