From: Torsten Bögershausen Date: Sun, 02 Feb 2014 20:08:51 GMT Subject: Re: [PATCH] fast-import.c: always honor the filename case Message-ID: <52EEA5D3.9000502@web.de> In-Reply-To: <1391346784-11891-1-git-send-email-reubenhwk@gmail.com> On 2014-02-02 14.13, Reuben Hawkins wrote: > fast-import should not use strncmp_icase. When it does, files with > similar names, but different case can be lost in the import. For > example... > > M 100644 :1 FileName.txt > D Filename.txt That seems to be wrong, shouldn't it be D Filename.txt M 100644 :1 FileName.txt How do you generate the export/import stream ? Please see here: >https://www.kernel.org/pub/software/scm/git/docs/git-fast-import.html >Handling Renames >When importing a renamed file or directory, simply delete the old name(s) and modify the new name(s) during the corresponding commit. >Git performs rename detection after-the-fact, rather than explicitly during a commit.