mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-19 21:10:38 -05:00
fixup! rebase -i: implement the main part of interactive rebase as a builtin
The `--gpg-sign` option takes an *optional* argument, not a mandatory one. This fixes https://github.com/git-for-windows/git/issues/1836. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -181,8 +181,9 @@ int cmd_rebase__interactive(int argc, const char **argv, const char *prefix)
|
||||
OPT_STRING(0, "upstream", &upstream, N_("upstream"),
|
||||
N_("the upstream commit")),
|
||||
OPT_STRING(0, "head-name", &head_name, N_("head-name"), N_("head name")),
|
||||
OPT_STRING('S', "gpg-sign", &opts.gpg_sign, N_("gpg-sign"),
|
||||
N_("GPG-sign commits")),
|
||||
{ OPTION_STRING, 'S', "gpg-sign", &opts.gpg_sign, N_("key-id"),
|
||||
N_("GPG-sign commits"),
|
||||
PARSE_OPT_OPTARG, NULL, (intptr_t) "" },
|
||||
OPT_STRING(0, "strategy", &opts.strategy, N_("strategy"),
|
||||
N_("rebase strategy")),
|
||||
OPT_STRING(0, "strategy-opts", &raw_strategies, N_("strategy-opts"),
|
||||
|
||||
Reference in New Issue
Block a user