Skip to content

Unable to add new files with unicode text in their names #336

@jy

Description

@jy

Edmagit fails when adding a new file with unicode text in the name.

If the file already exists in the repo, or is added via another tool, I can stage and commit just fine.

Only see an issue if adding a new file.

Reproduce:

  • $ cd ~
  • $ mkdir testproject
  • $ cd testproject
  • $ git init .
  • $ touch «hi».txt
  • $ touch file🔥.txt
  • $ code .
  • Add new file with edmagit

Fails with:
[128] git add -A -- XXXXX/"file\360\237\224\245.txt"
fatal: pathspec 'XXXXX"file\360\237\224\245.txt"' did not match any files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions