summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-03-16 22:51:17 +0000
committerYobmod <yobmod@gmail.com>2021-03-16 22:51:17 +0000
commitc93e971f3e0aa4dea12a0cb169539fe85681e381 (patch)
tree002c4c12c1da90f1889672942cdb500ad0dce47d /git/repo/base.py
parenta728b0a4b107a2f8f1e68bc8c3a04099b64ee46c (diff)
downloadgitpython-c93e971f3e0aa4dea12a0cb169539fe85681e381.tar.gz
chane HEAD typing to SymbolicReference
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 513b8605..24bc5754 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -415,7 +415,7 @@ class Repo(object):
:return: newly created Head Reference"""
return Head.create(self, path, commit, force, logmsg)
- def delete_head(self, *heads: HEAD, **kwargs: Any) -> None:
+ def delete_head(self, *heads: 'SymbolicReference', **kwargs: Any) -> None:
"""Delete the given heads
:param kwargs: Additional keyword arguments to be passed to git-branch"""