Old behaviour was silently ignoring --ack, which could be confusing. Signed-off-by: Yann Dirson <ydirson@xxxxxxxxxx> --- stgit/commands/refresh.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/stgit/commands/refresh.py b/stgit/commands/refresh.py index ea0fe6f..aa5ff78 100644 --- a/stgit/commands/refresh.py +++ b/stgit/commands/refresh.py @@ -107,6 +107,8 @@ def func(parser, options, args): if options.sign: sign_str = 'Signed-off-by' + if options.ack: + raise CmdException, '--ack and --sign were both specified' elif options.ack: sign_str = 'Acked-by' else: - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html