diff options
author | Victor Garcia <vgarcia@thousandeyes.com> | 2015-06-08 18:19:34 -0700 |
---|---|---|
committer | Victor Garcia <vgarcia@thousandeyes.com> | 2015-06-08 18:19:34 -0700 |
commit | 3e79604c8bdfc367f10a4a522c9bf548bdb3ab9a (patch) | |
tree | 7d329eb7f55f17756fb6efd511687d8a039f7af9 /git/remote.py | |
parent | 14851034ab5204ddb7329eb34bb0964d3f206f2b (diff) | |
download | gitpython-3e79604c8bdfc367f10a4a522c9bf548bdb3ab9a.tar.gz |
While parsing errors, also detecting lines starting with error:
Diffstat (limited to 'git/remote.py')
-rw-r--r-- | git/remote.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py index 4baa2838..485e1445 100644 --- a/git/remote.py +++ b/git/remote.py @@ -555,7 +555,7 @@ class Remote(LazyMixin, Iterable): line = line.decode(defenc) line = line.rstrip() for pline in progress_handler(line): - if line.startswith('fatal:'): + if line.startswith('fatal:') or line.startswith('error:'): raise GitCommandError(("Error when fetching: %s" % line,), 2) # END handle special messages for cmd in cmds: |