summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authoryobmod <yobmod@gmail.com>2021-05-03 16:40:21 +0100
committeryobmod <yobmod@gmail.com>2021-05-03 16:40:21 +0100
commite37ebaa5407408ee73479a12ada0c4a75e602092 (patch)
tree50d07cb872e260a60729a03227d7e0f6c7570e73 /git/remote.py
parent86114886ae8c2e1a9c09fdc145269089f281d212 (diff)
downloadgitpython-e37ebaa5407408ee73479a12ada0c4a75e602092.tar.gz
change a type (Commit) to a 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 8093fa9d..5b6b29a7 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -255,7 +255,7 @@ class FetchInfo(object):
return True
- def __init__(self, ref: SymbolicReference, flags: Set[int], note: str = '', old_commit: Optional[Commit] = None,
+ def __init__(self, ref: SymbolicReference, flags: Set[int], note: str = '', old_commit: Optional['Commit'] = None,
remote_ref_path: Optional[PathLike] = None):
"""
Initialize a new instance