Skip to content

Commit 57a3af1

Browse files
George-OgdenCopilot
andcommitted
Remove redundant fspath
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 50aea99 commit 57a3af1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/refs/symbolic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def name(self) -> str:
103103
In case of symbolic references, the shortest assumable name is the path
104104
itself.
105105
"""
106-
return os.fspath(self.path)
106+
return self.path
107107

108108
@property
109109
def abspath(self) -> PathLike:

0 commit comments

Comments
 (0)