Skip to content

fetch progress information is available but dropped #1465

@jorhett

Description

@jorhett

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions