summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/util.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/git/util.py b/git/util.py
index 809bcc04..e73007cf 100644
--- a/git/util.py
+++ b/git/util.py
@@ -166,7 +166,7 @@ class RemoteProgress(object):
and git-fetch and to dispatch callbacks allowing subclasses to react to the progress.
"""
_num_op_codes = 8
- BEGIN, END, COUNTING, COMPRESSING, WRITING, RECEIVING, RESOLVING, FINDING_SOURCES = \
+ BEGIN, END, COUNTING, COMPRESSING, WRITING, RECEIVING, RESOLVING, FINDING_SOURCES, CHECKING_OUT = \
[1 << x for x in range(_num_op_codes)]
STAGE_MASK = BEGIN | END
OP_MASK = ~STAGE_MASK
@@ -231,6 +231,8 @@ class RemoteProgress(object):
op_code |= self.RESOLVING
elif op_name == 'Finding sources':
op_code |= self.FINDING_SOURCES
+ elif op_name == 'Checking out files':
+ op_code |= self.CHECKING_OUT
else:
# Note: On windows it can happen that partial lines are sent
# Hence we get something like "CompreReceiving objects", which is