-
-
Notifications
You must be signed in to change notification settings - Fork 964
Closed
Description
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:
class SeeFetchProgress(git.remote.RemoteProgress):
# the implementation of RemoteProgress currently doesn't match fetch lines, so catch them when dropped.
def line_dropped(self, line: str):
if re.match('remote: ', line):
return
print(line)Metadata
Metadata
Assignees
Labels
No labels