Skip to content

Nonascii Files in the Repository #320

Closed
@abbgrade

Description

@abbgrade

Hi,

i want to run GitPython unter Windows with nonascii filenames in the repository.

repo.index.add(repo.untracked_files)

does not work.

for untracked_file in repo.untracked_files:
bar = untracked_file.decode('utf-8')
foo = bar.encode('1252')
repo.git.add(foo)

works.

Is there a way to use unicode directly?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions