diff options
Diffstat (limited to 'git/refs/head.py')
-rw-r--r-- | git/refs/head.py | 1 |
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: """ |