summaryrefslogtreecommitdiff
path: root/git/util.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-12-02 09:00:24 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-12-02 09:00:24 +0100
commita1a59764096cef4048507cb50f0303f48b87a242 (patch)
treeaf791b1adce8c7bda356927fc97809ac6a0bf939 /git/util.py
parent0900a51f986f3ed736d9556b3296d37933018196 (diff)
parent4a8700185dce5052ca1581b63432fb4d4839c226 (diff)
downloadgitpython-a1a59764096cef4048507cb50f0303f48b87a242.tar.gz
Merge pull request #368 from PonteIneptique/issue-330
Added CHECKING_OUT as a logged operation
Diffstat (limited to 'git/util.py')
-rw-r--r--git/util.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/git/util.py b/git/util.py
index 809bcc04..00f03f6f 100644
--- a/git/util.py
+++ b/git/util.py
@@ -165,8 +165,8 @@ class RemoteProgress(object):
Handler providing an interface to parse progress information emitted by git-push
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 = \
+ _num_op_codes = 9
+ 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