Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit94344b4
committed
Clarify CallableProgress vs. CallableRemoteProgress
This corrects an overstatement in the git.types.CallableProgressdocstring, which was introduced recently in9e47083, and in whichI had erroneously claimed that it was the most general type ofobject passed as a progress reporter for cloning.There are some non-None non-callable types that can also bepassed and that are not encompassed by git.types.CallableProgress,somewhat confusingly including CallableRemoteProgress (which likeRemoteProgress is not callable; rather, it wraps a callable andforwards progress information to it).In addition, None can be passed, and whilegit.types.CallableProgress does encompass it, it is not callable.(This is minor by comparison and I just added a brief note for it.)This also further expands the git.types.CallableProgress docstring,as well as the git.util.CallableRemoteProgress docstring, toclarify the distinction between them, as well as what "Callable"really signifies for CallableRemoteProgress (that it wraps andforwards to a callable, rather than itself being callable).1 parente4fd2e3 commit94344b4
2 files changed
+23
-2
lines changedLines changed: 15 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
118 |
| - | |
| 118 | + | |
119 | 119 |
| |
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
123 | 137 |
| |
124 | 138 |
| |
125 | 139 |
| |
|
Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
749 | 749 |
| |
750 | 750 |
| |
751 | 751 |
| |
752 |
| - | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
753 | 760 |
| |
754 | 761 |
| |
755 | 762 |
| |
|
0 commit comments
Comments
(0)