reset: do not make '--quiet' disable index refresh
commit45bf76284b40856e47e8809e952167f0316b8a99
authorVictoria Dye <vdye@github.com>
Wed, 23 Mar 2022 18:17:58 +0000 (23 18:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Mar 2022 21:39:44 +0000 (23 14:39 -0700)
treed9f3716ebcd9163c959255b0485dfa9e7714b9ea
parent4b8b0f6fa2778c1f9c373620e3f07787543914c6
reset: do not make '--quiet' disable index refresh

Update '--quiet' to no longer implicitly skip refreshing the index in a
mixed reset. Users now have the ability to explicitly disable refreshing the
index with the '--no-refresh' option, so they no longer need to use
'--quiet' to do so. Moreover, we explicitly remove the refresh-skipping
behavior from '--quiet' because it is completely unrelated to the stated
purpose of the option: "Be quiet, only report errors."

Helped-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-reset.txt
builtin/reset.c
t/t7102-reset.sh