diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-19 23:44:18 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-19 23:44:18 +0200 |
commit | 989671780551b7587d57e1d7cb5eb1002ade75b4 (patch) | |
tree | ef1c02449ee980c2f0fa6182a537fc3412830a39 /lib/git/objects/commit.py | |
parent | b9cb007076542e32f7b99bb18bc6ec424f3b407b (diff) | |
download | gitpython-989671780551b7587d57e1d7cb5eb1002ade75b4.tar.gz |
Implemneted IterableLists for refs, commits and remote objects including simple tests
Diffstat (limited to 'lib/git/objects/commit.py')
-rw-r--r-- | lib/git/objects/commit.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/git/objects/commit.py b/lib/git/objects/commit.py index a68a7bed..4080305f 100644 --- a/lib/git/objects/commit.py +++ b/lib/git/objects/commit.py @@ -23,6 +23,7 @@ class Commit(base.Object, Iterable, diff.Diffable): type = "commit" __slots__ = ("tree", "author", "authored_date", "committer", "committed_date", "message", "parents") + _id_attribute_ = "id" def __init__(self, repo, id, tree=None, author=None, authored_date=None, committer=None, committed_date=None, message=None, parents=None): |