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.
2 parents 56d5d0c + 7067058 commit a02e432Copy full SHA for a02e432
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