-
-
Notifications
You must be signed in to change notification settings - Fork 933
Non-Ascii files get renamed #365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This seems to be an encoding issue, and I wonder what your OS and locale are. On OSX, you can get the locale like so: $ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL= I could imagine something like that happens once there are characters which can't be represented by the ascii encoding. A capital Additionally, please be sure you use the latest version of GitPython, which is the |
I installed the version of the If you're interested. My system runs
|
Great to hear, and thanks for letting me know ! |
I have to work with a Git-Repository, that contains some files with non-ASCII-filenames. And this gives me problems with gitpython. I guess this behavior, that I'm gonna describe, is a bug.
Lets assume we have a Git-Repository. There is one file named
Äbc.txt
. The file is already staged and committed. And there is another file namedtest.txt
which is not yet staged.The command
git status
prints the following:When I add the file
test.txt
to the index withand afterwards call
git status
, I receive the following message:What's happened here? This doesn't appear if I call
git add test.txt
. Why does a file, that I didn't added to the index gets renamed?The text was updated successfully, but these errors were encountered: