summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominic <yobmod@gmail.com>2021-07-31 13:27:55 +0100
committerGitHub <noreply@github.com>2021-07-31 13:27:55 +0100
commitc081f51b6d4ea6020a411e4ec5c2f90a48e10cad (patch)
treed8c64dd99019ab1865703b92bee2b0c4636c250c
parent37fa31decc9ab74621590cb25791ccd8d3bf0583 (diff)
downloadgitpython-c081f51b6d4ea6020a411e4ec5c2f90a48e10cad.tar.gz
update types commit.py
-rw-r--r--git/objects/commit.py1
1 files changed, 1 insertions, 0 deletions
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: