diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-12-01 09:24:52 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-12-01 09:24:52 +0100 |
commit | bae67b87039b3364bdc22b8ef0b75dd18261814c (patch) | |
tree | c00118b01778957173f1d0c62c8b433bb43b40e3 /lib/git | |
parent | 615de50240aa34ec9439f81de8736fd3279d476d (diff) | |
download | gitpython-bae67b87039b3364bdc22b8ef0b75dd18261814c.tar.gz |
commit.create_from_tree: head will not be advanced anymore as it feels non-natural when using it
Diffstat (limited to 'lib/git')
-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 bb458921..677aeebc 100644 --- a/lib/git/objects/commit.py +++ b/lib/git/objects/commit.py @@ -277,7 +277,7 @@ class Commit(base.Object, Iterable, diff.Diffable, utils.Traversable): @classmethod - def create_from_tree(cls, repo, tree, message, parent_commits=None, head=True ): + def create_from_tree(cls, repo, tree, message, parent_commits=None, head=False): """ Commit the given tree, creating a commit object. |