diff options
| author | D. Dotsenko <dotsa@hotmail.com> | 2010-10-20 22:41:52 -0700 |
|---|---|---|
| committer | Daniel Dotsenko <dotsa@hotmail.com> | 2010-10-20 22:41:52 -0700 |
| commit | cfd2121eda5fadd18fba6819f90efb8868fad14a (patch) | |
| tree | da2d2b16a0a68145a5ada2d514540b20e6f79665 /lib/git/commit.py | |
| parent | 7bfca5efce8988e6070e7284bd409d1a731a3fbc (diff) | |
| download | GitPython-cfd2121eda5fadd18fba6819f90efb8868fad14a.tar.gz GitPython-cfd2121eda5fadd18fba6819f90efb8868fad14a.zip | |
Added submodule type and handling through Tree listing.
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): """ |
