Re: Remembering which http remotes require authentication
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 12, 2023, 22:12 UTC
- Message-ID
- <xmqqh6rc72k8.fsf@gitster.g>
- In-Reply-To
- <CAGJzqsnkH_dtv-CGsSFJ8K0kXKBf1+QQqy=MEw-Vq9XaEqr=AQ@mail.gmail.com>
M Hickford <mirth.hickford@gmail.com> writes:
> Could Git remember which remotes require authentication for which > operations?
Interesting idea.
Credential helpers may know which URL needed authentication before, but that is not per operation. I wonder if it is sufficient as the zeroth approximation to always try authenticated access if helpers have any auth material to the URL regardless of the operation?
There needs a way to force unautheticated access if we were to do anything of that sort, of course.