We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25ba54d commit 129f1b3Copy full SHA for 129f1b3
1 file changed
git/refs/log.py
@@ -4,7 +4,6 @@
4
__all__ = ["RefLog", "RefLogEntry"]
5
6
from mmap import mmap
7
-import os.path as osp
8
import re
9
import time as _time
10
@@ -213,7 +212,7 @@ def path(cls, ref: "SymbolicReference") -> str:
213
212
:param ref:
214
:class:`~git.refs.symbolic.SymbolicReference` instance
215
"""
216
- return to_native_path(ref._get_validated_reflog_path(ref.repo, ref.path))
+ return str(to_native_path(ref._get_validated_reflog_path(ref.repo, ref.path)))
217
218
@classmethod
219
def iter_entries(cls, stream: Union[str, "BytesIO", mmap]) -> Iterator[RefLogEntry]:
0 commit comments