summaryrefslogtreecommitdiff
path: root/lib/git/commit.py
diff options
context:
space:
mode:
authorD. Dotsenko <dotsa@hotmail.com>2010-10-20 22:41:52 -0700
committerDaniel Dotsenko <dotsa@hotmail.com>2010-10-20 22:41:52 -0700
commitcfd2121eda5fadd18fba6819f90efb8868fad14a (patch)
treeda2d2b16a0a68145a5ada2d514540b20e6f79665 /lib/git/commit.py
parent7bfca5efce8988e6070e7284bd409d1a731a3fbc (diff)
downloadgitpython-cfd2121eda5fadd18fba6819f90efb8868fad14a.tar.gz
Added submodule type and handling through Tree listing.
Diffstat (limited to 'lib/git/commit.py')
-rw-r--r--lib/git/commit.py2
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):
"""