From: Nicholas Guriev Date: Wed, 08 Aug 2018 06:39:26 GMT Subject: [PATCH] status: -i shorthand for --ignored command line option Message-ID: <20180808063926.11911-1-guriev-ns@ya.ru> In-Reply-To: <20180804181539.29536-1-guriev-ns@ya.ru> This short option saves the number of keys to press for the typically git-status command. --- I already sent the patch here, but it doesn't seem reached to the list. So I send the email (now with DKIM) again and apologize if you get this twice. builtin/commit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/commit.c b/builtin/commit.c index 158e3f8..44829b9 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -1319,7 +1319,7 @@ int cmd_status(int argc, const char **argv, const char *prefix) N_("mode"), N_("show untracked files, optional modes: all, normal, no. (Default: all)"), PARSE_OPT_OPTARG, NULL, (intptr_t)"all" }, - { OPTION_STRING, 0, "ignored", &ignored_arg, + { OPTION_STRING, 'i', "ignored", &ignored_arg, N_("mode"), N_("show ignored files, optional modes: traditional, matching, no. (Default: traditional)"), PARSE_OPT_OPTARG, NULL, (intptr_t)"traditional" }, -- 2.7.4