Re: [PATCH 0/3] maintenance: configure credentials to be silent
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 20, 2024, 21:56 UTC
- Message-ID
- <xmqqfrpudm51.fsf@gitster.g>
- In-Reply-To
- <pull.1798.git.1726790423.gitgitgadget@gmail.com>
"Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com> writes:
> Add a new configuration value, 'credential.interactive', to specify to the > credential helper that it should not prompt for user interaction. This > option has been respected by Git Credential Manager since 2020 [1], so this > is now presenting it as an official Git config value.
So, the other helpers are also supposed to check for the variable and fail when it has to go interactive now.
Show 7 quoted lines
> These changes were first merged into the microsoft/git fork in August 2023 > [2] but were not upstreamed immediately. The change has been a positive one > for users of that fork, as they no longer get pop-ups and they also are not > getting maintenance.lock file blocks when the prefetch task waits for > credentials. This has become even more important recently as credential > lifetimes have been restricted significantly, leading to a higher likelihood > that this will happen during a background prefetch.
Sounds good.