Skip to content

Commit bae67b8

Browse files
committed
commit.create_from_tree: head will not be advanced anymore as it feels non-natural when using it
1 parent 615de50 commit bae67b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/objects/commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def _iter_from_process_or_stream(cls, repo, proc_or_stream, from_rev_list):
277277

278278

279279
@classmethod
280-
def create_from_tree(cls, repo, tree, message, parent_commits=None, head=True ):
280+
def create_from_tree(cls, repo, tree, message, parent_commits=None, head=False):
281281
"""
282282
Commit the given tree, creating a commit object.
283283

0 commit comments

Comments
 (0)