We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent727758b commit727db48Copy full SHA for 727db48
git/refs/symbolic.py
@@ -61,7 +61,7 @@ class SymbolicReference(object):
61
def__init__(self,repo:'Repo',path:PathLike,check_path:bool=False)->None:
62
self.repo=repo
63
self.path=str(path)
64
-self.ref=self._get_reference()
+self.ref=self._get_reference
65
66
def__str__(self)->str:
67
returnself.path
@@ -283,6 +283,7 @@ def set_object(self, object: Union[Commit_ish, 'SymbolicReference'],
283
284
commit=cast('Commit',property(_get_commit,set_commit,doc="Query or set commits directly"))
285
object=property(_get_object,set_object,doc="Return the object our ref currently refers to")# type: ignore
286
+# reference = property(_get_reference, set_reference, doc="Return the object our ref currently refers to") # type: ignore
287
288
def_get_reference(self
289
)->Union['Head','RemoteReference','TagReference','Reference']: