From: Jeff King Date: Sat, 27 Jul 2024 21:58:45 GMT Subject: Re: Git clone reads safe.directory differently? Message-ID: <20240727215845.GA1263246@coredump.intra.peff.net> In-Reply-To: On Sat, Jul 27, 2024 at 11:14:40AM -0500, W. Michael Petullo wrote: > Glen Choo's commit 6061601d modified Git so that safe.directory could > be set on the command line using "-c". It seems most sub-commands work > this way, but not "clone". Here is an example: This is because upload-pack, the server half of a fetch/clone, is run as a separate process which does not accept the client-side "-c" options. See this email for more details and a workaround: https://lore.kernel.org/git/20240529102307.GF1098944@coredump.intra.peff.net/ -Peff