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

Re: What's cooking in git.git (Jul 2009, #01; Mon, 06)

From
Alex Riesen <raa.lkml@gmail.com>
Date
Jul 7, 2009, 19:57 UTC
Message-ID
<81b0412b0907071257q14bb544dp99846f2a35fbada2@mail.gmail.com>
In-Reply-To
<alpine.LFD.2.01.0907071142330.3210@localhost.localdomain>

On Tue, Jul 7, 2009 at 21:17, Linus Torvalds<torvalds@linux-foundation.org> wrote:

Show 22 quoted lines
> So right now, my personal opinion is:
>
>  - let's just face the fact that the only sane filename representation is
>   NFC UTF-8. Show filenames as UTF-8 when possible, rather than quoting
>   them.
>
>  - Do case (b) above: add support for converting NFD -> NFC at readdir()
>   time, so that OS X people can use UTF-8 sanely.
>
>  - add a "binary encoding" mode to filesystems that actually use Latin1,
>   just so that if people use Latin1 or Shift-JIS filesystem encodings, we
>   promise that we'll never munge those kinds of names.
>
>  - Maybe we'd make the "binary encoding" (which is effectively existing
>   git behavior) be the default on non-OSX platforms.
>
> but that's just my gut feel from trying to weigh the costs of trying to do
> something more involved against the costs of OS X support and just letting
> crazy encodings exist in their own little worlds. So a development group
> that uses Shift-JIS (or Latin1) would be able to work internally with git
> that way, but would not be able to sanely work with the world at large
> that uses UTF-8.

Maybe we could at least let the user save the encoding of file names in the tree objects somehow?

Previous: Linus TorvaldsNext: Linus Torvalds
Message 11 of 20 in “What's cooking in git.git (Jul 2009, #01; Mon, 06)”
  1. Junio C HamanoJul 6, 2009
  2. Marcus CamenJul 6, 2009
  3. Junio C HamanoJul 6, 2009
  4. Marcus CamenJul 6, 2009
  5. Junio C HamanoJul 6, 2009
  6. Jakub NarebskiJul 6, 2009
  7. Mark LodatoJul 7, 2009
  8. Jeff KingJul 7, 2009
  9. Johannes SixtJul 7, 2009
  10. Linus TorvaldsJul 7, 2009
  11. Alex RiesenJul 7, 2009
  12. Linus TorvaldsJul 7, 2009
  13. Johannes SchindelinJul 7, 2009
  14. Shawn O. PearceJul 7, 2009
  15. Junio C HamanoJul 7, 2009
  16. Shawn O. PearceJul 7, 2009
  17. notes, was Re: What's cooking in git.git (Jul 2009, #01; Mon, 06)Johannes Schindelin, Jul 8, 2009
  18. Stephen BoydJul 8, 2009
  19. Johannes SixtJul 8, 2009
  20. Christian CouderJul 10, 2009

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.