From 111251132edff92d1681d915af0d060af35250d2 Mon Sep 17 00:00:00 2001 From: Catalin Marinas Date: Thu, 11 Jun 2009 12:07:54 +0100 Subject: [PATCH] Improve the "publish" merge message to give slightly more information Signed-off-by: Catalin Marinas --- stgit/commands/publish.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stgit/commands/publish.py b/stgit/commands/publish.py index 401fbdf..0358a09 100644 --- a/stgit/commands/publish.py +++ b/stgit/commands/publish.py @@ -106,7 +106,8 @@ def func(parser, options, args): # base by setting two parents. merge_bases = repository.get_merge_bases(public_head, stack.base) if not stack.base in merge_bases: - message = 'Merge ' + repository.describe(stack.base) + message = 'Merge %s into %s' % (repository.describe(stack.base), + public_ref) public_head = __create_commit(repository, stack.head.data.tree, [public_head, stack.base], options, message) -- 2.11.0