Skip to content

Commit c93e971

Browse files
committed
chane HEAD typing to SymbolicReference
1 parent a728b0a commit c93e971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/repo/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def create_head(self, path: PathLike, commit: str = 'HEAD',
415415
:return: newly created Head Reference"""
416416
return Head.create(self, path, commit, force, logmsg)
417417

418-
def delete_head(self, *heads: HEAD, **kwargs: Any) -> None:
418+
def delete_head(self, *heads: 'SymbolicReference', **kwargs: Any) -> None:
419419
"""Delete the given heads
420420
421421
:param kwargs: Additional keyword arguments to be passed to git-branch"""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy