From: Junio C Hamano Date: Wed, 01 Jun 2022 20:40:06 GMT Subject: Re: [PATCH v3 2/2] usage: add warn_once() helper for repeated warnings Message-ID: In-Reply-To: <8e29ac807c6a0cf94ea3a44ee3304011c2ad159c.1654046173.git.gitgitgadget@gmail.com> "Derrick Stolee via GitGitGadget" writes: > In the case of the credentials in a URL, the existing test demonstrates > this per-process limitation: 'git clone' runs 'git-remote-curl' as a > child process, giving two messages. This is an improvement over the > previous six messages. Do we call the valid_remote() helper on the same remote many number of times? Unless the duplicates appear by such a "stupid" reason, I am not sure if this is a good idea to do this deduplication. Especially if we know we cannot do the deduplication across processes.