]> git.99rst.org Git - git.git/commit
reset: suppress '--no-refresh' advice if logging is silenced
authorVictoria Dye <redacted>
Tue, 15 Mar 2022 01:49:41 +0000 (01:49 +0000)
committerJunio C Hamano <redacted>
Tue, 15 Mar 2022 01:51:56 +0000 (18:51 -0700)
commitd492abb0ae4a00c5647189b22f7c130fb364e700
tree9f601a7d2861e7887b5fcca9a75d93b08e394179
parent9396251b371b9475b60461ddb27bd22282c86d79
reset: suppress '--no-refresh' advice if logging is silenced

If using '--quiet' or 'reset.quiet=true', do not print the 'resetnoRefresh'
advice string. For applications that rely on '--quiet' disabling all
non-error logs, the advice message should be suppressed accordingly.

Signed-off-by: Victoria Dye <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/reset.c
git clone https://git.99rst.org/PROJECT