Re: 'safe.directory' setting ignored for some operations?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2025-04-10 at 21:35:42, Jeff King wrote:
> So I think things are working as intended. You can get around it with
> either of these:
> 
>   - set the config in your user ~/.gitconfig, which will be read by the
>     child upload-pack command
> 
>   - tell clone to pass the config to upload-pack, like:
> 
>      git clone -u 'git -c safe.directory="*" upload-pack' ...

I think you can also use `git clone --no-local` in a more recent version
and the normal clone-from-untrusted-repository semantics will kick in
and things will work.
-- 
brian m. carlson (they/them)
Toronto, Ontario, CA

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux