From: | Michael Orlitzky <mjo@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] [PATCH] git-r3.eclass: Add checkout dirs as "safe" directories | ||
Date: | Sun, 06 Nov 2022 11:39:59 | ||
Message-Id: | 2cecdfafce383fd0ec6f91a2a5d23e50037042fd.camel@gentoo.org | ||
In Reply to: | Re: [gentoo-dev] [PATCH] git-r3.eclass: Add checkout dirs as "safe" directories by Florian Schmaus |
1 | On Sun, 2022-11-06 at 12:19 +0100, Florian Schmaus wrote: |
2 | > |
3 | > I guess there is no way we can avoid the --global and use --local instead? |
4 | > |
5 | |
6 | The setting is only respected if it's in the global ($HOME) or system |
7 | (/etc) configs. There's no explanation for that in the man page, but |
8 | it's probably because you can't let $repo/.git/config be in charge of |
9 | safety if $repo is untrustworthy. |