forked fromgitpython-developers/GitPython
- Notifications
You must be signed in to change notification settings - Fork0
Commitb4492c7
committed
The progress arg to push, pull, fetch and clone is now a python callable.
This simplifies the API and removes the parser, RemoteProgres,from the API as RemoteProgress is an internal detail of the implementation.progress is accepted as:* None - drop progress messages* callable (function etc) - call the function with the same args as update* object - assume its RemoteProgress derived as use as beforeRemoteProgress takes an optional progress_function argument.It will call the progress function if not None otherwise call self.updateas it used to.1 parentbed4630 commitb4492c7
3 files changed
+54
-10
lines changedLines changed: 42 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
60 | 76 |
| |
61 | 77 |
| |
62 | 78 |
| |
| |||
535 | 551 |
| |
536 | 552 |
| |
537 | 553 |
| |
| 554 | + | |
538 | 555 |
| |
| 556 | + | |
| 557 | + | |
539 | 558 |
| |
540 | 559 |
| |
541 | 560 |
| |
| |||
580 | 599 |
| |
581 | 600 |
| |
582 | 601 |
| |
| 602 | + | |
| 603 | + | |
583 | 604 |
| |
584 | 605 |
| |
585 | 606 |
| |
| |||
654 | 675 |
| |
655 | 676 |
| |
656 | 677 |
| |
657 |
| - | |
| 678 | + | |
658 | 679 |
| |
659 | 680 |
| |
660 | 681 |
| |
| |||
672 | 693 |
| |
673 | 694 |
| |
674 | 695 |
| |
675 |
| - | |
| 696 | + | |
676 | 697 |
| |
677 | 698 |
| |
678 | 699 |
| |
| |||
682 | 703 |
| |
683 | 704 |
| |
684 | 705 |
| |
685 |
| - | |
686 |
| - | |
687 | 706 |
| |
688 | 707 |
| |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
689 | 726 |
| |
690 | 727 |
| |
691 | 728 |
| |
| |||
697 | 734 |
| |
698 | 735 |
| |
699 | 736 |
| |
700 |
| - | |
| 737 | + | |
701 | 738 |
| |
702 | 739 |
| |
703 | 740 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
| 36 | + | |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
| |||
872 | 873 |
| |
873 | 874 |
| |
874 | 875 |
| |
| 876 | + | |
| 877 | + | |
875 | 878 |
| |
876 | 879 |
| |
877 | 880 |
| |
|
Lines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
174 | 174 |
| |
175 | 175 |
| |
176 | 176 |
| |
177 |
| - | |
| 177 | + | |
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
181 |
| - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
182 | 187 |
| |
183 | 188 |
| |
184 | 189 |
| |
| |||
267 | 272 |
| |
268 | 273 |
| |
269 | 274 |
| |
270 |
| - | |
| 275 | + | |
271 | 276 |
| |
272 | 277 |
| |
273 | 278 |
| |
| |||
314 | 319 |
| |
315 | 320 |
| |
316 | 321 |
| |
317 |
| - | |
318 | 322 |
| |
319 | 323 |
| |
320 | 324 |
| |
|
0 commit comments
Comments
(0)