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 0b820e6 commit 03097c7Copy full SHA for 03097c7
git/refs/reference.py
@@ -18,7 +18,7 @@ def require_remote_ref_path(func):
18
"""A decorator raising a TypeError if we are not a valid remote, based on the path"""
19
defwrapper(self, *args):
20
ifnotself.path.startswith(self._remote_common_path_default+"/"):
21
-raiseValueError("ref path does not point to a remote reference: %s"%path)
+raiseValueError("ref path does not point to a remote reference: %s"%self.path)
22
returnfunc(self, *args)
23
#END wrapper
24
wrapper.__name__=func.__name__
0 commit comments