From e37ebaa5407408ee73479a12ada0c4a75e602092 Mon Sep 17 00:00:00 2001 From: yobmod Date: Mon, 3 May 2021 16:40:21 +0100 Subject: change a type (Commit) to a forward ref --- git/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git') 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 -- cgit v1.2.1