We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent55eb3de commitab5b6afCopy full SHA for ab5b6af
git/util.py
@@ -109,8 +109,8 @@ class RemoteProgress(object):
109
Handler providing an interface to parse progress information emitted by git-push
110
and git-fetch and to dispatch callbacks allowing subclasses to react to the progress.
111
"""
112
-_num_op_codes=5
113
-BEGIN,END,COUNTING,COMPRESSING,WRITING= [1<<xforxinrange(_num_op_codes)]
+_num_op_codes=7
+BEGIN,END,COUNTING,COMPRESSING,WRITING,RECEIVING,RESOLVING= [1<<xforxinrange(_num_op_codes)]
114
STAGE_MASK=BEGIN|END
115
OP_MASK=~STAGE_MASK
116
@@ -168,6 +168,10 @@ def _parse_progress_line(self, line):
168
op_code|=self.COMPRESSING
169
elifop_name=="Writing objects":
170
op_code|=self.WRITING
171
+elifop_name=='Receiving objects':
172
+op_code|=self.RECEIVING
173
+elifop_name=='Resolving deltas':
174
+op_code|=self.RESOLVING
175
else:
176
raiseValueError("Operation name %r unknown"%op_name)
177