diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-14 12:48:28 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-14 12:51:47 +0200 |
commit | d9240918aa03e49feabe43af619019805ac76786 (patch) | |
tree | 2db7501a00292f8ba4a99cc1381fe161bd039b03 /lib/git/objects/commit.py | |
parent | fe5289ed8311fecf39913ce3ae86b1011eafe5f7 (diff) | |
download | gitpython-d9240918aa03e49feabe43af619019805ac76786.tar.gz |
tree: added TreeModifier, allowing to adjust existing trees safely and or fast, while staying compatible with serialization which requires it to be sorted
Diffstat (limited to 'lib/git/objects/commit.py')
-rw-r--r-- | lib/git/objects/commit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/objects/commit.py b/lib/git/objects/commit.py index 0d8f2c64..3b20e314 100644 --- a/lib/git/objects/commit.py +++ b/lib/git/objects/commit.py @@ -402,7 +402,7 @@ class Commit(base.Object, Iterable, diff.Diffable, utils.Traversable, utils.Seri """:param from_rev_list: if true, the stream format is coming from the rev-list command Otherwise it is assumed to be a plain data stream from our object""" readline = stream.readline - self.tree = Tree(self.repo, readline().split()[1], 0, '') + self.tree = Tree(self.repo, readline().split()[1], Tree.tree_id<<12, '') self.parents = list() next_line = None |