summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
Diffstat (limited to 'git')
-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 49a3d5a1..165df5fe 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -482,7 +482,7 @@ class Repo(object):
def create_tag(
self,
path: PathLike,
- ref: str = "HEAD",
+ ref: Union[str, 'SymbolicReference'] = "HEAD",
message: Optional[str] = None,
force: bool = False,
**kwargs: Any,