summaryrefslogtreecommitdiff
path: root/lib/git
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-12-01 09:24:52 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-12-01 09:24:52 +0100
commitbae67b87039b3364bdc22b8ef0b75dd18261814c (patch)
treec00118b01778957173f1d0c62c8b433bb43b40e3 /lib/git
parent615de50240aa34ec9439f81de8736fd3279d476d (diff)
downloadgitpython-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.py2
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.