From adc00dd1773ee1b532803b2272cc989f11e09f8a Mon Sep 17 00:00:00 2001 From: Yobmod Date: Wed, 28 Jul 2021 21:50:49 +0100 Subject: Fix more missing types in Symbolic.py, cos GuthubActions pytest stuck --- git/objects/commit.py | 1 + 1 file changed, 1 insertion(+) (limited to 'git/objects/commit.py') diff --git a/git/objects/commit.py b/git/objects/commit.py index 884f6522..9d709656 100644 --- a/git/objects/commit.py +++ b/git/objects/commit.py @@ -128,6 +128,7 @@ class Commit(base.Object, TraversableIterableObj, Diffable, Serializable): as what time.altzone returns. The sign is inverted compared to git's UTC timezone.""" super(Commit, self).__init__(repo, binsha) + self.binsha = binsha if tree is not None: assert isinstance(tree, Tree), "Tree needs to be a Tree instance, was %s" % type(tree) if tree is not None: -- cgit v1.2.1