Re: [gentoo-dev] [PATCH] git-r3.eclass: Add checkout dirs as "safe" directories

2022-11-06 Thread Florian Schmaus
On 06.11.22 16:52, Michał Górny wrote: On Sun, 2022-11-06 at 16:08 +0100, Florian Schmaus wrote: Fair point, and I suspected as much. Am I right that this does modify ~portage/.gitconfig (so usually /var/lib/portage/home/.gitconfig)? If so, I wonder if this could be avoided, e.g., by setting

Re: [gentoo-dev] [PATCH] git-r3.eclass: Add checkout dirs as "safe" directories

2022-11-06 Thread Michał Górny
On Sun, 2022-11-06 at 16:08 +0100, Florian Schmaus wrote: > On 06.11.22 12:38, Michał Górny wrote: > > On Sun, 2022-11-06 at 12:19 +0100, Florian Schmaus wrote: > > > On 06.11.22 12:03, Michał Górny wrote: > > > > Mark all checkout directories as "safe" to avoid dubious ownership > > > > errors

Re: [gentoo-dev] [PATCH] git-r3.eclass: Add checkout dirs as "safe" directories

2022-11-06 Thread Florian Schmaus
On 06.11.22 12:38, Michał Górny wrote: On Sun, 2022-11-06 at 12:19 +0100, Florian Schmaus wrote: On 06.11.22 12:03, Michał Górny wrote: Mark all checkout directories as "safe" to avoid dubious ownership errors with newer git versions when the checkout directory is accessed from src_install().

Re: [gentoo-dev] [PATCH] git-r3.eclass: Add checkout dirs as "safe" directories

2022-11-06 Thread Michael Orlitzky
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

Re: [gentoo-dev] [PATCH] git-r3.eclass: Add checkout dirs as "safe" directories

2022-11-06 Thread Michał Górny
On Sun, 2022-11-06 at 12:19 +0100, Florian Schmaus wrote: > On 06.11.22 12:03, Michał Górny wrote: > > Mark all checkout directories as "safe" to avoid dubious ownership > > errors with newer git versions when the checkout directory is accessed > > from src_install(). > > > > Bug:

Re: [gentoo-dev] [PATCH] git-r3.eclass: Add checkout dirs as "safe" directories

2022-11-06 Thread Florian Schmaus
On 06.11.22 12:03, Michał Górny wrote: Mark all checkout directories as "safe" to avoid dubious ownership errors with newer git versions when the checkout directory is accessed from src_install(). Bug: https://bugs.gentoo.org/879353 Signed-off-by: Michał Górny --- eclass/git-r3.eclass | 5

[gentoo-dev] [PATCH] git-r3.eclass: Add checkout dirs as "safe" directories

2022-11-06 Thread Michał Górny
Mark all checkout directories as "safe" to avoid dubious ownership errors with newer git versions when the checkout directory is accessed from src_install(). Bug: https://bugs.gentoo.org/879353 Signed-off-by: Michał Górny --- eclass/git-r3.eclass | 5 + 1 file changed, 5 insertions(+) diff