Skip to content

Commit a1a5976

Browse files
committed
Merge pull request #368 from PonteIneptique/issue-330
Added CHECKING_OUT as a logged operation
2 parents 0900a51 + 4a87001 commit a1a5976

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

git/util.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ class RemoteProgress(object):
165165
Handler providing an interface to parse progress information emitted by git-push
166166
and git-fetch and to dispatch callbacks allowing subclasses to react to the progress.
167167
"""
168-
_num_op_codes = 8
169-
BEGIN, END, COUNTING, COMPRESSING, WRITING, RECEIVING, RESOLVING, FINDING_SOURCES = \
168+
_num_op_codes = 9
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy