gitless icon indicating copy to clipboard operation
gitless copied to clipboard

Issue with non-ASCII character in directory names

Open tucuxi opened this issue 8 years ago • 0 comments
trafficstars

On MacOS 10.12.2, gitless 0.8.15 doesn't handle non-ASCII characters in directories names properly. See http://stackoverflow.com/questions/18193305/python-unicode-equal-comparison-failed for an explanation how to do compare unicode strings correctly.

$ gl status
On branch master, repo-directory //

Tracked files with modifications:
  ➜ these will be automatically considered for commit
  ➜ use gl untrack f if you don't want to track changes to file f
  ➜ if file f was committed before, use gl checkout f to discard local changes

    There are no tracked files with modifications to list


Untracked files:
  ➜ these won't be considered for commit
  ➜ use gl track f if you want to track changes to file f

    Info/Rangfolge.xlsx
    Info/Themen.md
/usr/local/Cellar/gitless/0.8.5/libexec/lib/python2.7/site-packages/gitless/cli/gl_status.py:129: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if fp == '.':
    Präsentation/Hashing_Folien.tex

tucuxi avatar Dec 28 '16 14:12 tucuxi