summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authorVincent Driessen <me@nvie.com>2016-06-14 07:51:25 +0200
committerVincent Driessen <me@nvie.com>2016-06-14 21:49:31 +0200
commit5e02afbb7343a7a4e07e3dcf8b845ea2764d927c (patch)
tree9ccd689ccc2435bfe7b04057998065bfbc086c55 /git/remote.py
parent105a8c0fb3fe61b77956c8ebd3216738c78a3dff (diff)
downloadgitpython-5e02afbb7343a7a4e07e3dcf8b845ea2764d927c.tar.gz
Fix for parsing non-ASCII chars in status lines
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py
index 75a6875f..9a26deeb 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -203,7 +203,7 @@ class FetchInfo(object):
NEW_TAG, NEW_HEAD, HEAD_UPTODATE, TAG_UPDATE, REJECTED, FORCED_UPDATE, \
FAST_FORWARD, ERROR = [1 << x for x in range(8)]
- re_fetch_result = re.compile("^\s*(.) (\[?[\w\s\.$@]+\]?)\s+(.+) -> ([/\w_\+\.\-$@#()]+)( \(.*\)?$)?")
+ re_fetch_result = re.compile('^\s*(.) (\[?[\w\s\.$@]+\]?)\s+(.+) -> ([^\s]+)( \(.*\)?$)?')
_flag_map = {'!': ERROR,
'+': FORCED_UPDATE,