8000
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
def wrapper(self, *args):
20
if not self.path.startswith(self._remote_common_path_default + "/"):
21
- raise ValueError("ref path does not point to a remote reference: %s" % path)
+ raise ValueError("ref path does not point to a remote reference: %s" % self.path)
22
return func(self, *args)
23
#END wrapper
24
wrapper.__name__ = func.__name__
0 commit comments