diff options
Diffstat (limited to 'lib/git/commit.py')
-rw-r--r-- | lib/git/commit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/commit.py b/lib/git/commit.py index b074d3a8..9a9a77ad 100644 --- a/lib/git/commit.py +++ b/lib/git/commit.py @@ -71,7 +71,7 @@ class Commit(LazyMixin): if parents is not None: self.parents = [Commit(repo, p) for p in parents] if tree is not None: - self.tree = Tree(repo, id=tree) + self.tree = Tree(repo, id=tree, commit_context = self.id) def __bake__(self): """ |