Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita1a5976

Browse files
committed
Merge pull request#368 from PonteIneptique/issue-330
Added CHECKING_OUT as a logged operation
2 parents0900a51 +4a87001 commita1a5976

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<<xforxinrange(_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
elifop_name=='Finding sources':
233233
op_code|=self.FINDING_SOURCES
234+
elifop_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)

[8]ページ先頭

©2009-2025 Movatter.jp