summaryrefslogtreecommitdiff
path: root/lib/git/refs.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-19 23:44:18 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-19 23:44:18 +0200
commit989671780551b7587d57e1d7cb5eb1002ade75b4 (patch)
treeef1c02449ee980c2f0fa6182a537fc3412830a39 /lib/git/refs.py
parentb9cb007076542e32f7b99bb18bc6ec424f3b407b (diff)
downloadgitpython-989671780551b7587d57e1d7cb5eb1002ade75b4.tar.gz
Implemneted IterableLists for refs, commits and remote objects including simple tests
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):
"""