summaryrefslogtreecommitdiff
path: root/lib/git/refs.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/refs.py')
-rw-r--r--lib/git/refs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/git/refs.py b/lib/git/refs.py
index 3428915e..8c9d6672 100644
--- a/lib/git/refs.py
+++ b/lib/git/refs.py
@@ -16,6 +16,7 @@ class Reference(LazyMixin, Iterable):
"""
__slots__ = ("repo", "path")
_common_path_default = "refs"
+ _id_attribute_ = "name"
def __init__(self, repo, path, object = None):
"""