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

Re: Problems with file name case on Windows.

From
Johannes Sixt <j6t@kdbg.org>
Date
Apr 23, 2010, 06:38 UTC
Message-ID
<4BD14066.3040307@kdbg.org>
In-Reply-To
<1271969657620-4947131.post@n2.nabble.com>
Am 22.04.2010 22:54, schrieb martinvz:
Show 5 quoted lines
>
> Under Cygwin, if you add a file "a" in one commit, then rename the file to
> "A" and commit again, both files will be in the new commit. Running the
> following line under Cygwin produces a commit with both files ("a" and "A").
> Running it on Linux produces a commit with one file ("A"), as expected.
The safe way to achieve your goal is:
   git mv a b
   git mv b A
   git commit
-- Hannes
Previous: Tay Ray ChuanNext: martinvz
Message 3 of 4 in “Problems with file name case on Windows.”
  1. martinvzApr 22, 2010
  2. Tay Ray ChuanApr 23, 2010
  3. Johannes SixtApr 23, 2010
  4. martinvzApr 23, 2010

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.