Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

fetch progress information is available but dropped #1465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jorhett opened this issue Jul 16, 2022 · 0 comments
Closed

fetch progress information is available but dropped #1465

jorhett opened this issue Jul 16, 2022 · 0 comments

Comments

@jorhett
Copy link

jorhett commented Jul 16, 2022

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)
@gitpython-developers gitpython-developers locked and limited conversation to collaborators Jul 16, 2022
@Byron Byron converted this issue into discussion #1466 Jul 16, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Development

No branches or pull requests

1 participant