summaryrefslogtreecommitdiff
path: root/git/refs/symbolic.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-28 17:22:09 +0100
committerYobmod <yobmod@gmail.com>2021-07-28 17:22:09 +0100
commit7cf30c1cf4a6494916a162983bdb439388d59ff3 (patch)
treea491a3c7bf2944b6b2f968c6cdb1b5a26e418c99 /git/refs/symbolic.py
parentc464e33793d0839666233883212018dbbcdf1e09 (diff)
downloadgitpython-7cf30c1cf4a6494916a162983bdb439388d59ff3.tar.gz
Fix forwardref
Diffstat (limited to 'git/refs/symbolic.py')
-rw-r--r--git/refs/symbolic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/refs/symbolic.py b/git/refs/symbolic.py
index 86dc04e1..4919ea83 100644
--- a/git/refs/symbolic.py
+++ b/git/refs/symbolic.py
@@ -147,7 +147,7 @@ class SymbolicReference(object):
# END recursive dereferencing
@classmethod
- def _get_ref_info_helper(cls, repo: Repo, ref_path: PathLike):
+ def _get_ref_info_helper(cls, repo: 'Repo', ref_path: PathLike):
"""Return: (str(sha), str(target_ref_path)) if available, the sha the file at
rela_path points to, or None. target_ref_path is the reference we
point to, or None"""