Thanks to visit codestin.com Credit goes to github.com
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
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