summaryrefslogtreecommitdiff
path: root/git/refs/head.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-31 17:49:18 +0100
committerYobmod <yobmod@gmail.com>2021-07-31 17:49:18 +0100
commit13b38ce012dc1bf84d9dca8d141dcab86c0d4e09 (patch)
treefda9568e1e36daa5a9cb124452c079128faf8cf2 /git/refs/head.py
parentd4d46697a6ce23edba8e22030916dad28d42abc2 (diff)
downloadgitpython-13b38ce012dc1bf84d9dca8d141dcab86c0d4e09.tar.gz
Add type to symbolicreference.reference()
Diffstat (limited to 'git/refs/head.py')
-rw-r--r--git/refs/head.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/git/refs/head.py b/git/refs/head.py
index 260bf5e7..16027204 100644
--- a/git/refs/head.py
+++ b/git/refs/head.py
@@ -40,6 +40,7 @@ class HEAD(SymbolicReference):
raise ValueError("HEAD instance must point to %r, got %r" % (self._HEAD_NAME, path))
super(HEAD, self).__init__(repo, path)
self.commit: 'Commit'
+ self.ref: 'Head'
def orig_head(self) -> SymbolicReference:
"""