git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Reuben HawkinsNext: Jeff King
Message 2 of 9 in “fast-import.c: always honor the filename case”
  1. fast-import.c: always honor the filename caseReuben Hawkins, Feb 2, 2014
  2. Torsten BögershausenFeb 2, 2014
  3. Jeff KingFeb 2, 2014
  4. Junio C HamanoFeb 3, 2014
  5. Torsten BögershausenFeb 3, 2014
  6. Junio C HamanoFeb 4, 2014
  7. Torsten BögershausenFeb 5, 2014
  8. Torsten BögershausenFeb 9, 2014
  9. Torsten BögershausenFeb 11, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.