Skip to content

Commit c081f51

Browse files
authored
update types commit.py
1 parent 37fa31d commit c081f51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git/objects/commit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ def __init__(self, repo: 'Repo', binsha: bytes, tree: Union[Tree, None] = None,
128128
as what time.altzone returns. The sign is inverted compared to git's
129129
UTC timezone."""
130130
super(Commit, self).__init__(repo, binsha)
131+
self.binsha = binsha
131132
if tree is not None:
132133
assert isinstance(tree, Tree), "Tree needs to be a Tree instance, was %s" % type(tree)
133134
if tree is not None:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy