summaryrefslogtreecommitdiff
path: root/lib/git
diff options
context:
space:
mode:
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.