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

Re: git and cyrillic branches

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Jul 25, 2013, 15:26 UTC
Message-ID
<CACPiFCKDjLVrJWPYn1Y5290ipvpVaGzB0VhsJHb2GrPpiBO5gA@mail.gmail.com>
In-Reply-To
<322491374763917@web5g.yandex.ru>
On Thu, Jul 25, 2013 at 10:51 AM, ксовиран <xowirun@yandex.ru> wrote:
> problem is still here, i've got ubuntu on VM and same shared git-folder causes this problem on Mac Os and no problems on Ubuntu.
> git version on Mac is 1.8.0.1 (on Ubuntu is 1.7.10.4)

OSX filesystem code canonicalizes UTF-8 filenames in a way that disagrees with GIT's design (and Linux's fs design) which considers a filename to be a bag of bytes better left alone.

So the ugly fixes applied to filenames need to be applied too to refs, I guess.

Are you using packed refs? That's probably a good workaround in the meantime. Using packed refs, git will not need to store the branchname as a filename...

cheers,
m
--
 martin.langhoff@gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff
Previous: ксовиранNext: Konstantin Khomoutov
Message 7 of 9 in “git and cyrillic branches”
  1. иванов иванJul 25, 2013
  2. Konstantin KhomoutovJul 25, 2013
  3. Torsten BögershausenJul 26, 2013
  4. ксовиранJul 26, 2013
  5. Konstantin KhomoutovJul 25, 2013
  6. ксовиранJul 25, 2013
  7. Martin LanghoffJul 25, 2013
  8. Konstantin KhomoutovJul 25, 2013
  9. Konstantin KhomoutovJul 25, 2013

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.