Skip to content

Feature proposal: Add --fixup option to changelog tool

What does this MR do?

Adds new --fixup option to changelog tool. It works exactly like --amend option, but doesn't ask for a new message for amended commit.

Why need?

We have --amend option now, which adds changelog file to the last commit and asks for a new commit message to amended commit. At the moment you want to use changelog with --amend you likely to have the changes rebased into one commit and commit description finished during this process just because it's handier to add changelog message at the final stage of feature development when all/most of job are done and you have a better understanding how to describe it. And because the tool can parse changelog title from commit subject, you typically want to rebase and describe commit first and then just amend it with changelog. If so, you just don't need to change commit message, because it's already perfect. The new option allows passing this unwanted step.

This is the most obvious example which brings me to the idea of option, I assuming there might be more scenarios when you don't need/want to change a commit message.

The argument --fixupcalled by analogy with git-rebase -i fixup option.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports