diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2022-01-27 22:03:51 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-27 18:00:45 -0800 |
commit | e9b272e4c1cb9742452ad44d42cedd407b6b5de2 (patch) | |
tree | 5ed5f9a4d62ac4daa8ab7439171e68c539dad18c /builtin | |
parent | stash: remove documentation for `stash.useBuiltin` (diff) | |
download | tgif-e9b272e4c1cb9742452ad44d42cedd407b6b5de2.tar.xz |
stash: stop warning about the obsolete `stash.useBuiltin` config setting
In 8a2cd3f5123 (stash: remove the stash.useBuiltin setting, 2020-03-03),
we removed support for `stash.useBuiltin`, but left a warning in its
place.
After almost two years, and several major versions, it is time to remove
even that warning.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/stash.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/builtin/stash.c b/builtin/stash.c index 1ef2017c59..25793b5a75 100644 --- a/builtin/stash.c +++ b/builtin/stash.c @@ -788,7 +788,6 @@ static int list_stash(int argc, const char **argv, const char *prefix) static int show_stat = 1; static int show_patch; static int show_include_untracked; -static int use_legacy_stash; static int git_stash_config(const char *var, const char *value, void *cb) { @@ -804,10 +803,6 @@ static int git_stash_config(const char *var, const char *value, void *cb) show_include_untracked = git_config_bool(var, value); return 0; } - if (!strcmp(var, "stash.usebuiltin")) { - use_legacy_stash = !git_config_bool(var, value); - return 0; - } return git_diff_basic_config(var, value, cb); } @@ -1778,11 +1773,6 @@ int cmd_stash(int argc, const char **argv, const char *prefix) git_config(git_stash_config, NULL); - if (use_legacy_stash || - !git_env_bool("GIT_TEST_STASH_USE_BUILTIN", -1)) - warning(_("the stash.useBuiltin support has been removed!\n" - "See its entry in 'git help config' for details.")); - argc = parse_options(argc, argv, prefix, options, git_stash_usage, PARSE_OPT_KEEP_UNKNOWN | PARSE_OPT_KEEP_DASHDASH); |