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

Re: Re: Moving a directory into another fails

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 4, 2006, 18:56 UTC
Message-ID
<el1qtr$bca$1@sea.gmane.org>
In-Reply-To
<f3d7535d0612041019q4bda01a1k9938b056d51f8a78@mail.gmail.com>
Stefan Pfetzing wrote:
Show 5 quoted lines
> 2006/7/28, Petr Baudis <pasky@suse.cz>:
>>>
>>> mv: cannot stat `"gitweb/test/M\\303\\244rchen"': No such file or directory
>>>
> since when is this file in the official git.git tree?
Since merging in gitweb, Sat Jun 10, 2006.
 
> Its quite problematic when used on HFS+ because it uses UTF-16 internally IMHO.
> 
> Git always thinks there is a new file in my git.git clone.

That is the problem that git tries to be content agnostict, and it includes being coding agnostic.

I personally think that because the same repository might be deployed on different systems with different file name encoding (and this is not something you have control over, contrary to commit/tag message encoding, and encoding in files), git should acquire core.filesystemEncoding configuration variable which would encode from filesystem encoding used in working directory and perhaps index to UTF-8 encoding used in repository (in tree objects) and perhaps index.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Stefan PfetzingNext: Johannes Schindelin
Message 7 of 24 in “Moving a directory into another fails”
  1. Jon SmirlJul 26, 2006
  2. Nicolas VilzJul 26, 2006
  3. Jon SmirlJul 26, 2006
  4. Nicolas VilzJul 26, 2006
  5. Petr BaudisJul 28, 2006
  6. Stefan PfetzingDec 4, 2006
  7. Jakub NarebskiDec 4, 2006
  8. Johannes SchindelinDec 4, 2006
  9. Jakub NarebskiDec 4, 2006
  10. Johannes SchindelinDec 4, 2006
  11. Jakub NarebskiDec 4, 2006
  12. Linus TorvaldsDec 4, 2006
  13. Linus TorvaldsDec 4, 2006
  14. Shawn PearceDec 4, 2006
  15. Jakub NarebskiDec 4, 2006
  16. Johannes SchindelinDec 4, 2006
  17. Linus TorvaldsDec 4, 2006
  18. Johannes SchindelinDec 5, 2006
  19. Jakub NarebskiDec 5, 2006
  20. filesystem encodings and gitweb tests, was Re: Moving a directory into another failsJohannes Schindelin, Dec 5, 2006
  21. Jakub NarebskiDec 5, 2006
  22. Johannes SchindelinDec 5, 2006
  23. Linus TorvaldsDec 5, 2006
  24. Johannes SchindelinDec 4, 2006

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.