Skip to content

Commit 28bda3a

Browse files
author
firm1
committed
suppression des prefixes de commit
1 parent 4fd7b94 commit 28bda3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/objects/commit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def create_from_tree(cls, repo, tree, message, parent_commits=None, head=False,
358358
# as well ...
359359
import git.refs
360360
try:
361-
repo.head.set_commit(new_commit, logmsg="commit: %s" % message)
361+
repo.head.set_commit(new_commit, logmsg=message)
362362
except ValueError:
363363
# head is not yet set to the ref our HEAD points to
364364
# Happens on first commit

0 commit comments

Comments
 (0)