Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork938
-
Modern versions of git will return progress information. In debugging what goes on here, I found that all of the information was being dropped by _parse_line. For others who run into this, I was able to return branch update information to the user by adding the following: classSeeFetchProgress(git.remote.RemoteProgress):# the implementation of RemoteProgress currently doesn't match fetch lines, so catch them when dropped.defline_dropped(self,line:str):ifre.match('remote: ',line):returnprint(line) |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 2 replies
-
Indeed, the mechanism is meant to be used to obtain additional information, with the default implementation being somewhat limited. This discussion could be used to figure out if the default implementation should be improved, if there should be better docs, or anything else related to improving the situation. |
BetaWas this translation helpful?Give feedback.
All reactions
-
As shown by my change, I believe that the lines other than So yes, I firmly believe that this would be much more useful if one could retrieve these lines, hopefully from the API as a String and not by overloading a function. |
BetaWas this translation helpful?Give feedback.
All reactions
-
The current architecture should support intercepting all information and transforming it into anything as desired. PRs are definitely welcome. |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #1465 on July 16, 2022 02:26.