Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictoria Dye <vdye@github.com>2022-03-23 21:17:59 +0300
committerJunio C Hamano <gitster@pobox.com>2022-03-24 00:39:45 +0300
commit2efc9b84e5e9ea063ecfb2f813cb56653a03c10a (patch)
treee1d13830a67e16d1057912a73134237195da7dea /t/t7102-reset.sh
parent45bf76284b40856e47e8809e952167f0316b8a99 (diff)
reset: remove 'reset.quiet' config option
Remove the 'reset.quiet' config option, remove '--no-quiet' documentation in 'Documentation/git-reset.txt'. In 4c3abd0551 (reset: add new reset.quiet config setting, 2018-10-23), 'reset.quiet' was introduced as a way to globally change the default behavior of 'git reset --mixed' to skip index refresh. However, now that '--quiet' does not affect index refresh, 'reset.quiet' would only serve to globally silence logging. This was not the original intention of the config setting, and there's no precedent for such a setting in other commands with a '--quiet' option, so it appears to be obsolete. In addition to the options & its documentation, remove 'reset.quiet' from the recommended config for 'scalar'. Signed-off-by: Victoria Dye <vdye@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7102-reset.sh')
-rwxr-xr-xt/t7102-reset.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t7102-reset.sh b/t/t7102-reset.sh
index 8b62bb39b3..9e4c4deee3 100755
--- a/t/t7102-reset.sh
+++ b/t/t7102-reset.sh
@@ -488,8 +488,7 @@ test_expect_success '--mixed refreshes the index' '
# Verify default behavior (without --[no-]refresh or reset.refresh)
test_reset_refreshes_index &&
- # With --quiet & reset.quiet
- test_reset_refreshes_index "-c reset.quiet=true" &&
+ # With --quiet
test_reset_refreshes_index "" --quiet
'