public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Orlitzky <mjo@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] git-r3.eclass: Add checkout dirs as "safe" directories
Date: Sun, 06 Nov 2022 06:39:43 -0500	[thread overview]
Message-ID: <2cecdfafce383fd0ec6f91a2a5d23e50037042fd.camel@gentoo.org> (raw)
In-Reply-To: <45c9b655-d96c-b1cc-d11c-941fc5958dbf@gentoo.org>

On Sun, 2022-11-06 at 12:19 +0100, Florian Schmaus wrote:
> 
> I guess there is no way we can avoid the --global and use --local instead?
> 

The setting is only respected if it's in the global ($HOME) or system
(/etc) configs. There's no explanation for that in the man page, but
it's probably because you can't let $repo/.git/config be in charge of
safety if $repo is untrustworthy.




      parent reply	other threads:[~2022-11-06 11:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-06 11:03 [gentoo-dev] [PATCH] git-r3.eclass: Add checkout dirs as "safe" directories Michał Górny
2022-11-06 11:19 ` Florian Schmaus
2022-11-06 11:38   ` Michał Górny
2022-11-06 15:08     ` Florian Schmaus
2022-11-06 15:52       ` Michał Górny
2022-11-06 19:07         ` Florian Schmaus
2022-11-06 11:39   ` Michael Orlitzky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2cecdfafce383fd0ec6f91a2a5d23e50037042fd.camel@gentoo.org \
    --to=mjo@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox