@@ -5,6 +5,8 @@ Changelog | |||
| 5 | 5 | 2.0.6 - Fixes and Features | |
| 6 | 6 | ========================== | |
| 7 | 7 | ||
| 8 | + * Fix: remote output parser now correctly matches refs with non-ASCII | ||
| 9 | + chars in them | ||
| 8 | 10 | * Fix: TypeError about passing keyword argument to string decode() on | |
| 9 | 11 | Python 2.6. | |
| 10 | 12 | * Feature: `setUrl API on Remotes <https://github.com/gitpython-developers/GitPython/pull/446#issuecomment-224670539>`_ | |
@@ -203,7 +203,7 @@ class FetchInfo(object): | |||
| 203 | 203 | NEW_TAG, NEW_HEAD, HEAD_UPTODATE, TAG_UPDATE, REJECTED, FORCED_UPDATE, \ | |
| 204 | 204 | FAST_FORWARD, ERROR = [1 << x for x in range(8)] | |
| 205 | 205 | ||
| 206 | - re_fetch_result = re.compile("^\s*(.) (\[?[\w\s\.$@]+\]?)\s+(.+) -> ([/\w_\+\.\-$@#()]+)( \(.*\)?$)?") | ||
| 206 | + re_fetch_result = re.compile('^\s*(.) (\[?[\w\s\.$@]+\]?)\s+(.+) -> ([^\s]+)( \(.*\)?$)?') | ||
| 207 | 207 | ||
| 208 | 208 | _flag_map = {'!': ERROR, | |
| 209 | 209 | '+': FORCED_UPDATE, | |
0 commit comments