From: Joshua Jensen Date: Tue, 09 Dec 2014 03:20:52 GMT Subject: Re: fast-import should not care about core.ignorecase Message-ID: <54866A94.2040305@workspacewhiz.com> In-Reply-To: <20141209013138.GU16345@google.com> Jonathan Nieder wrote on 12/8/2014 6:31 PM: > Joshua Jensen wrote: >> I think it has been discussed before, but maybe Git needs a >> core.casefold in addition to core.ignorecase.) > Would it work for --casefold to be a commandline flag to fast-import, > instead of a global option affecting multiple Git commands? Given that core.ignorecase=true means to fold filename case in quite a number of places within Git right now, I would expect the same behavior within a repository where fast-import is being run against core.ignorecase=true. So, I don't know what core.ignorecase should mean, but I'm pretty sure I know what core.foldcase should mean. Would --casefold work? Sure, but it would be a special case against the existing core.ignorecase behavior that I don't think makes much sense. Josh