| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 55eb3de commit ab5b6af
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -109,8 +109,8 @@ class RemoteProgress(object): | |||
| 109 | 109 | Handler providing an interface to parse progress information emitted by git-push | |
| 110 | 110 | and git-fetch and to dispatch callbacks allowing subclasses to react to the progress. | |
| 111 | 111 | """ | |
| 112 | - _num_op_codes = 5 | ||
| 113 | - BEGIN, END, COUNTING, COMPRESSING, WRITING = [1 << x for x in range(_num_op_codes)] | ||
| 112 | + _num_op_codes = 7 | ||
| 113 | + BEGIN, END, COUNTING, COMPRESSING, WRITING, RECEIVING, RESOLVING = [1 << x for x in range(_num_op_codes)] | ||
| 114 | 114 | STAGE_MASK = BEGIN|END | |
| 115 | 115 | OP_MASK = ~STAGE_MASK | |
| 116 | 116 | ||
@@ -168,6 +168,10 @@ def _parse_progress_line(self, line): | |||
| 168 | 168 | op_code |= self.COMPRESSING | |
| 169 | 169 | elif op_name == "Writing objects": | |
| 170 | 170 | op_code |= self.WRITING | |
| 171 | + elif op_name == 'Receiving objects': | ||
| 172 | + op_code |= self.RECEIVING | ||
| 173 | + elif op_name == 'Resolving deltas': | ||
| 174 | + op_code |= self.RESOLVING | ||
| 171 | 175 | else: | |
| 172 | 176 | raise ValueError("Operation name %r unknown" % op_name) | |
| 173 | 177 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments