diff options
author | Vincent Driessen <me@nvie.com> | 2016-05-30 15:26:23 +0200 |
---|---|---|
committer | Vincent Driessen <me@nvie.com> | 2016-05-30 15:44:46 +0200 |
commit | 1faf84f8eb760b003ad2be81432443bf443b82e6 (patch) | |
tree | e3bde34d58698fb4ae3c2bf1e45830dccd8e724e /doc | |
parent | e836e5cdcc7e3148c388fe8c4a1bab7eeb00cc3f (diff) | |
download | gitpython-1faf84f8eb760b003ad2be81432443bf443b82e6.tar.gz |
Fix bug in diff parser outputfix-octal-escaped-path-parser-bug
The diff --patch parser was missing some edge case where Git would
encode non-ASCII chars in path names as octals, but these weren't
decoded properly.
\360\237\222\251.txt
Decoded via utf-8, that will return:
💩.txt
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/changes.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/source/changes.rst b/doc/source/changes.rst index 928675d0..dd7a3815 100644 --- a/doc/source/changes.rst +++ b/doc/source/changes.rst @@ -5,6 +5,8 @@ Changelog 2.0.4 - Fixes ============= +* Fix: non-ASCII paths are now properly decoded and returned in + ``.diff()`` output * Fix: `RemoteProgress` will now strip the ', ' prefix or suffix from messages. * API: Remote.[fetch|push|pull](...) methods now allow the ``progress`` argument to be a callable. This saves you from creating a custom type with usually just one |