summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
authorDavid Hotham <david.hotham@metaswitch.com>2021-07-30 12:14:26 +0100
committerDavid Hotham <david.hotham@metaswitch.com>2021-07-30 12:17:13 +0100
commit217ba50d150c1ee85b8b7dcb8fbedd93ed5ebd60 (patch)
tree891a67e3147c521f2151890e6aa699dbb55286d7 /git/repo/base.py
parent76c1c8dd13806d88231c110c47468c71d4b370f1 (diff)
downloadgitpython-217ba50d150c1ee85b8b7dcb8fbedd93ed5ebd60.tar.gz
Fix typing of Head.create_head
Diffstat (limited to 'git/repo/base.py')
-rw-r--r--git/repo/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index f8a1689a..bb8ddf13 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -422,7 +422,7 @@ class Repo(object):
def create_head(self, path: PathLike, commit: str = 'HEAD',
force: bool = False, logmsg: Optional[str] = None
- ) -> 'SymbolicReference':
+ ) -> Head:
"""Create a new head within the repository.
For more documentation, please see the Head.create method.