diff options
author | Dominic <yobmod@gmail.com> | 2021-07-31 10:30:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-31 10:30:23 +0100 |
commit | 9110b98eb5e2fa064a5e63b91ff49c1325b62cbe (patch) | |
tree | 891a67e3147c521f2151890e6aa699dbb55286d7 /git/repo/base.py | |
parent | 76c1c8dd13806d88231c110c47468c71d4b370f1 (diff) | |
parent | 217ba50d150c1ee85b8b7dcb8fbedd93ed5ebd60 (diff) | |
download | gitpython-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.py | 2 |
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. |