summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2022-02-16 15:14:30 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-16 15:14:30 -0800
commitb9f791aee653932e87d558e5fd841d3394c70727 (patch)
treef78186e1ddb790236acb59c01077921663272f18 /t
parentMerge branch 'js/diff-filter-negation-fix' (diff)
parentstash: stop warning about the obsolete `stash.useBuiltin` config setting (diff)
downloadtgif-b9f791aee653932e87d558e5fd841d3394c70727.tar.xz
Merge branch 'js/no-more-legacy-stash'
Removal of unused code and doc. * js/no-more-legacy-stash: stash: stop warning about the obsolete `stash.useBuiltin` config setting stash: remove documentation for `stash.useBuiltin` add: remove support for `git-legacy-stash` git-sh-setup: remove remnant bits referring to `git-legacy-stash`
Diffstat (limited to 't')
-rwxr-xr-xt/t3903-stash.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh
index 686747e55a..b149e2af44 100755
--- a/t/t3903-stash.sh
+++ b/t/t3903-stash.sh
@@ -1272,7 +1272,6 @@ test_expect_success 'stash works when user.name and user.email are not set' '
>2 &&
git add 2 &&
test_config user.useconfigonly true &&
- test_config stash.usebuiltin true &&
(
sane_unset GIT_AUTHOR_NAME &&
sane_unset GIT_AUTHOR_EMAIL &&
@@ -1323,20 +1322,6 @@ test_expect_success 'stash handles skip-worktree entries nicely' '
git rev-parse --verify refs/stash:A.t
'
-test_expect_success 'stash -c stash.useBuiltin=false warning ' '
- expected="stash.useBuiltin support has been removed" &&
-
- git -c stash.useBuiltin=false stash 2>err &&
- test_i18ngrep "$expected" err &&
- env GIT_TEST_STASH_USE_BUILTIN=false git stash 2>err &&
- test_i18ngrep "$expected" err &&
-
- git -c stash.useBuiltin=true stash 2>err &&
- test_must_be_empty err &&
- env GIT_TEST_STASH_USE_BUILTIN=true git stash 2>err &&
- test_must_be_empty err
-'
-
test_expect_success 'git stash succeeds despite directory/file change' '
test_create_repo directory_file_switch_v1 &&
(