cd = git.CommitData(
tree = tree, parents = parents, message = message,
author = git.Person.author(), committer = git.Person.committer())
- cd = common.update_commit_data(cd, options, allow_edit = True)
+ cd = common.update_commit_data(cd, options)
return repository.commit(cd)
# base by setting two parents.
merge_bases = repository.get_merge_bases(public_head, stack.base)
if not stack.base in merge_bases:
- message = 'Merge %s into %s' % (repository.describe(stack.base),
+ message = 'Merge %s into %s' % (repository.describe(stack.base).strip(),
utils.strip_prefix('refs/heads/',
public_ref))
public_head = __create_commit(repository, stack.head.data.tree,
cd = pc.data.set_parent(public_head)
public_head = repository.commit(cd)
public_tree = public_head.data.tree
- out.start('Published new patch "%s"' % p)
+ out.info('Published new patch "%s"' % p)
# create a new commit (only happens if no new patches are detected)
if public_tree.sha1 != stack.head.data.tree.sha1: