From 3253553e12d40da3bca818528f49a63c95f43aa3 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Fri, 24 Jan 2014 00:50:58 +0000 Subject: cherry-pick, revert: add the --gpg-sign option Signed-off-by: Nicolas Vigier Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano --- builtin/revert.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'builtin/revert.c') diff --git a/builtin/revert.c b/builtin/revert.c index 87659c9fd..065d88dd0 100644 --- a/builtin/revert.c +++ b/builtin/revert.c @@ -89,6 +89,8 @@ static void parse_args(int argc, const char **argv, struct replay_opts *opts) OPT_STRING(0, "strategy", &opts->strategy, N_("strategy"), N_("merge strategy")), OPT_CALLBACK('X', "strategy-option", &opts, N_("option"), N_("option for merge strategy"), option_parse_x), + { OPTION_STRING, 'S', "gpg-sign", &opts->gpg_sign, N_("key id"), + N_("GPG sign commit"), PARSE_OPT_OPTARG, NULL, (intptr_t) "" }, OPT_END(), OPT_END(), OPT_END(), -- cgit v1.2.1