Thread (7 messages) 7 messages, 3 authors, 2024-07-31

Re: Git clone reads safe.directory differently?

From: Jeff King <hidden>
Date: 2024-07-27 21:58:52

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/ (local)

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help