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

Re: [msysGit] Illegal filename characters one Windows

From
Johannes Sixt <j6t@kdbg.org>
Date
Apr 15, 2012, 17:16 UTC
Message-ID
<4F8B026D.5070505@kdbg.org>
In-Reply-To
<20120415000725.GA32140@ecki>
Am 15.04.2012 02:07, schrieb Clemens Buchacher:
Show 5 quoted lines
> I recently noticed that git does not deal very well with illegal
> filenames on Windows. I have a repository which contains a couple of
> filenames like "Re: some email.eml". On a Windows box, those files get
> truncated to just "Re" during checkout, because ':' is an illegal
> character for filenames on Windows. [1]

This is a issue very similar to files named nul, aux, prn, com1 and the like; they can't be checked out, either. I've suggested to use sparse checkout in such cases; other than that, I think we don't have a solution for it.

-- Hannes
Previous: Clemens Buchacher
Message 2 of 2 in “Illegal filename characters one Windows”
  1. Clemens BuchacherApr 15, 2012
  2. Johannes SixtApr 15, 2012

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.