diff options
author | Yobmod <yobmod@gmail.com> | 2021-07-28 20:40:29 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-07-28 20:40:29 +0100 |
commit | 390efbf521d62d9cb188c7688288878ef1b1b45d (patch) | |
tree | a0edfe8378982d3b6f1979e8b1b4b5a09df40a6e /git/repo/base.py | |
parent | b8b07b9ff5fe478b872d3da767e549841da02205 (diff) | |
download | gitpython-390efbf521d62d9cb188c7688288878ef1b1b45d.tar.gz |
Fix more missing types in Symbolic.py, cos GuthubActions pytest stuck
Diffstat (limited to 'git/repo/base.py')
-rw-r--r-- | git/repo/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git/repo/base.py b/git/repo/base.py index 12efe9c6..355f9399 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -788,9 +788,10 @@ class Repo(object): return proc.replace("\\\\", "\\").replace('"', "").split("\n") @property - def active_branch(self) -> 'HEAD': + def active_branch(self) -> Head: """The name of the currently active branch. :return: Head to the active branch""" + # reveal_type(self.head.reference) # => Reference return self.head.reference def blame_incremental(self, rev: TBD, file: TBD, **kwargs: Any) -> Optional[Iterator['BlameEntry']]: |