summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authoryobmod <yobmod@gmail.com>2021-05-03 21:20:29 +0100
committeryobmod <yobmod@gmail.com>2021-05-03 21:20:29 +0100
commit96f8f17d5d63c0e0c044ac3f56e94a1aa2e45ec3 (patch)
tree9608fc26ffe24c282adbf19e1c67ea52034b9a3f /git/remote.py
parent1b16037a4ff17f0e25add382c3550323373c4398 (diff)
downloadgitpython-96f8f17d5d63c0e0c044ac3f56e94a1aa2e45ec3.tar.gz
fix Repo forward ref
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py
index 34d653e6..2eeafcc4 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -301,7 +301,7 @@ class FetchInfo(object):
return self.ref.commit
@classmethod
- def _from_line(cls, repo: Repo, line: str, fetch_line) -> 'FetchInfo':
+ def _from_line(cls, repo: 'Repo', line: str, fetch_line: str) -> 'FetchInfo':
"""Parse information from the given line as returned by git-fetch -v
and return a new FetchInfo object representing this information.