diff options
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): |