Git development
 help / color / mirror / Atom feed
From: Harald Dunkel <harald.dunkel@aixigo.com>
To: noloader@gmail.com
Cc: Git List <git@vger.kernel.org>
Subject: Re: How to disable safe directories?
Date: Tue, 21 May 2024 16:25:17 +0200	[thread overview]
Message-ID: <d71c7dff-46a7-4ac8-a8c7-ab4985458071@aixigo.com> (raw)
In-Reply-To: <CAH8yC8mNns_XiQHp3=q_tYr03Q+kR1r=2WOYha1XMp+cYs9WDQ@mail.gmail.com>

On 2024-05-21 12:45:18, Jeffrey Walton wrote:
> 
> Thanks Harri.
> 
> Would that be something like safe_directories.enabled = false? If not,
> can you point to a setting?
> 

It is possible to disable this feature globally using something
like

	git config --system --add safe.directory /somepath/.git

Some say even

	git config --system --add safe.directory '*'

works, but I haven't tried that.


Regards

Harri

  reply	other threads:[~2024-05-21 14:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-21  8:39 How to disable safe directories? Jeffrey Walton
2024-05-21 10:42 ` Harald Dunkel
2024-05-21 10:45   ` Jeffrey Walton
2024-05-21 14:25     ` Harald Dunkel [this message]
2024-05-21 14:40       ` Jeffrey Walton
2024-05-21 14:49       ` Harald Dunkel

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=d71c7dff-46a7-4ac8-a8c7-ab4985458071@aixigo.com \
    --to=harald.dunkel@aixigo.com \
    --cc=git@vger.kernel.org \
    --cc=noloader@gmail.com \
    /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