Skip to content

Commit 9110b98

Browse files
authored
Merge pull request #1302 from dimbleby/typing-fix
Fix typing of Head.create_head
2 parents 76c1c8d + 217ba50 commit 9110b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/repo/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def _to_full_tag_path(path):
422422

423423
def create_head(self, path: PathLike, commit: str = 'HEAD',
424424
force: bool = False, logmsg: Optional[str] = None
425-
) -> 'SymbolicReference':
425+
) -> Head:
426426
"""Create a new head within the repository.
427427
For more documentation, please see the Head.create method.
428428

0 commit comments

Comments
 (0)