Skip to content

Commit 13141e7

Browse files
Added CHECKING_OUT as a logged operation
Closes #330
1 parent 0900a51 commit 13141e7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: git/util.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class RemoteProgress(object):
166166
and git-fetch and to dispatch callbacks allowing subclasses to react to the progress.
167167
"""
168168
_num_op_codes = 8
169-
BEGIN, END, COUNTING, COMPRESSING, WRITING, RECEIVING, RESOLVING, FINDING_SOURCES = \
169+
BEGIN, END, COUNTING, COMPRESSING, WRITING, RECEIVING, RESOLVING, FINDING_SOURCES, CHECKING_OUT = \
170170
[1 << x for x in range(_num_op_codes)]
171171
STAGE_MASK = BEGIN | END
172172
OP_MASK = ~STAGE_MASK
@@ -231,6 +231,8 @@ def _parse_progress_line(self, line):
231231
op_code |= self.RESOLVING
232232
elif op_name == 'Finding sources':
233233
op_code |= self.FINDING_SOURCES
234+
elif op_name == 'Checking out files':
235+
op_code |= self.CHECKING_OUT
234236
else:
235237
# Note: On windows it can happen that partial lines are sent
236238
# Hence we get something like "CompreReceiving objects", which is

0 commit comments

Comments
 (0)