Re: [PATCH] fast-import.c: always honor the filename case
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Feb 2, 2014, 20:08 UTC
- 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:
Show 6 quoted lines
> 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.