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

Files with colons under Cygwin

From
Giovanni Funchal <gafunchal@gmail.com>
Date
Oct 2, 2008, 14:02 UTC
Message-ID
<c475e2e60810020702q573570dcp31a5dc18bf98ef30@mail.gmail.com>
Hello,

Cygwin does not allow files with colons, I think this is Windows stuff one just can't avoid. If you have files with colons in a git repository and try pulling them on cygwin, the file is empty, its name is truncated and the status is wrong.

linux $ date > a:b linux $ git init linux $ git add a:b linux $ git commit -m test linux $ git push cygwin $ git pull cygwin $ ls -rw-r--r-- 1 funchal funchal 0 Oct 2 15:15 a cygwin $ git status # On branch master # Untracked files: # (use "git add <file>..." to include in what will be committed) # # a nothing added to commit but untracked files present (use "git add" to track)

Any ideas on what should be done? (for instance, warn when pulling this kind of files on Cygwin)

Has anyone noticed this before?

Regards, -- Giovanni

Next: Dmitry Potapov
Message 1 of 19 in “Files with colons under Cygwin”
  1. Giovanni FunchalOct 2, 2008
  2. Dmitry PotapovOct 4, 2008
  3. Alex RiesenOct 5, 2008
  4. Alex RiesenOct 5, 2008
  5. Dmitry PotapovOct 5, 2008
  6. Giovanni FunchalOct 5, 2008
  7. Johannes SixtOct 6, 2008
  8. Dmitry PotapovOct 7, 2008
  9. Johannes SixtOct 7, 2008
  10. Joshua JuranOct 7, 2008
  11. correct verify_path for WindowsDmitry Potapov, Oct 7, 2008
  12. Johannes SixtOct 7, 2008
  13. Dmitry PotapovOct 11, 2008
  14. Alex RiesenOct 11, 2008
  15. Dmitry PotapovOct 12, 2008
  16. Alex RiesenOct 12, 2008
  17. Johannes SixtOct 13, 2008
  18. Alex RiesenOct 13, 2008
  19. Alex RiesenOct 7, 2008

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.