From: Junio C Hamano Date: Thu, 16 Oct 2025 19:58:39 GMT Subject: Re: [PATCH v3 5/5] setup: allow not marking self owned repos as safe in `ensure_safe_repository()` Message-ID: In-Reply-To: <20251016053322.44495-6-git@lohmann.sh> Michael Lohmann writes: > Git considers all repositories as safe, if they are either > - explicitly set in "safe.directory" config, or > - the user owns the repo If you are going to reroll this step, please add a few more cases to the list above. There are other code paths in setup.c that does not call ensure_valid_ownership(). Treating an explicitly specified git directory as safe is one of them (there may or may not be others, I didn't check).