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@xxxxxxxxxxxxxxxxxxxxxxx/ -Peff