summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
authorDominic <yobmod@gmail.com>2021-07-31 10:30:23 +0100
committerGitHub <noreply@github.com>2021-07-31 10:30:23 +0100
commit9110b98eb5e2fa064a5e63b91ff49c1325b62cbe (patch)
tree891a67e3147c521f2151890e6aa699dbb55286d7 /git/repo/base.py
parent76c1c8dd13806d88231c110c47468c71d4b370f1 (diff)
parent217ba50d150c1ee85b8b7dcb8fbedd93ed5ebd60 (diff)
downloadgitpython-9110b98eb5e2fa064a5e63b91ff49c1325b62cbe.tar.gz
Merge pull request #1302 from dimbleby/typing-fix
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.