{"thread":{"id":"47749","subject":"error: unable to create file: Illegal byte sequence","startedAt":"2018-02-03T03:18:20Z","lastAt":"2018-02-03T09:02:20Z","messageCount":2,"participants":["Brian Buchalter","Ævar Arnfjörð Bjarmason"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"338144","messageId":"CAANr7CBNhkYJ=u8Bq-NG3KkSYY8yczJCt_25KcZU4VMFsS399A@mail.gmail.com","threadId":"47749","inReplyTo":null,"subject":"error: unable to create file: Illegal byte sequence","fromName":"Brian Buchalter","fromEmail":"bal711@gmail.com","sentAt":"2018-02-03T03:17:33Z","receivedAt":"2018-02-03T03:18:20Z","isPatch":false,"sender":{"key":"bal711@gmail.com","avatar":null},"body":"I am attempting to repair a git repo which has an illegal byte\nsequence but am not sure how to proceed. Steps to reproduce: `git\nclone https://github.com/christopherpow/nes-test-roms.git` results in:\n\n```\nCloning into 'nes-test-roms'...\nremote: Counting objects: 1049, done.\nremote: Total 1049 (delta 0), reused 0 (delta 0), pack-reused 1049\nReceiving objects: 100% (1049/1049), 5.23 MiB | 8.97 MiB/s, done.\nResolving deltas: 100% (406/406), done.\nerror: unable to create file other/Duelito - L�eme.txt: Illegal byte sequence\nfatal: unable to checkout working tree\nwarning: Clone succeeded, but checkout failed.\nYou can inspect what was checked out with 'git status'\nand retry the checkout with 'git checkout -f HEAD'\n```\n\nRunning macOS 10.13.3, git version 2.16.1\n\nThank you!\n"},{"id":"338146","messageId":"CACBZZX4qH-w3YevoaW8RXAoFrjpfGerLWpBhetrO2tV-FGr3cQ@mail.gmail.com","threadId":"47749","inReplyTo":"CAANr7CBNhkYJ=u8Bq-NG3KkSYY8yczJCt_25KcZU4VMFsS399A@mail.gmail.com","subject":"Re: error: unable to create file: Illegal byte sequence","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2018-02-03T09:01:52Z","receivedAt":"2018-02-03T09:02:20Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"On Sat, Feb 3, 2018 at 4:17 AM, Brian Buchalter <bal711@gmail.com> wrote:\n> I am attempting to repair a git repo which has an illegal byte\n> sequence but am not sure how to proceed. Steps to reproduce: `git\n> clone https://github.com/christopherpow/nes-test-roms.git` results in:\n>\n> ```\n> Cloning into 'nes-test-roms'...\n> remote: Counting objects: 1049, done.\n> remote: Total 1049 (delta 0), reused 0 (delta 0), pack-reused 1049\n> Receiving objects: 100% (1049/1049), 5.23 MiB | 8.97 MiB/s, done.\n> Resolving deltas: 100% (406/406), done.\n> error: unable to create file other/Duelito - L�eme.txt: Illegal byte sequence\n> fatal: unable to checkout working tree\n> warning: Clone succeeded, but checkout failed.\n> You can inspect what was checked out with 'git status'\n> and retry the checkout with 'git checkout -f HEAD'\n> ```\n\nYou can clone my fork of this which fixes the issue:\nhttps://github.com/avar/nes-test-roms\n\nAs for fixing this yourself, if your FS can't represent files in the\nrepo the easiest thing is to clone it on a VM with an OS that can\n(e.g. Linux), or alternatively (and harder for non-experts) is to\nclone it with --bare and manually create a fixed tree with the various\nplumbing commands mentioned in \"man git\".\n"}]}