Skip to content

Commit 129f1b3

Browse files
codexByron
authored andcommitted
fix reference path CI failures
1 parent 25ba54d commit 129f1b3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

git/refs/log.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
__all__ = ["RefLog", "RefLogEntry"]
55

66
from mmap import mmap
7-
import os.path as osp
87
import re
98
import time as _time
109

@@ -213,7 +212,7 @@ def path(cls, ref: "SymbolicReference") -> str:
213212
:param ref:
214213
:class:`~git.refs.symbolic.SymbolicReference` instance
215214
"""
216-
return to_native_path(ref._get_validated_reflog_path(ref.repo, ref.path))
215+
return str(to_native_path(ref._get_validated_reflog_path(ref.repo, ref.path)))
217216

218217
@classmethod
219218
def iter_entries(cls, stream: Union[str, "BytesIO", mmap]) -> Iterator[RefLogEntry]:

0 commit comments

Comments
 (0)