diff options
| author | Repository mirror & CI <repomirrorci@gentoo.org> | 2025-12-04 18:30:45 +0000 |
|---|---|---|
| committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2025-12-04 18:30:45 +0000 |
| commit | 3ee84d976f959034ecf3b0347f74486084e493bb (patch) | |
| tree | ab777cf7c3cf928e5983dc0094d73814aec224ae /dev-vcs/git/files/git-2.37.2-unsafe-directory.patch | |
| parent | 26f53ff11013ab4ccb8816d812148f7850458899 (diff) | |
| parent | 64a3a0e16b87d21e6b98b169e3a237581ac90816 (diff) | |
| download | gentoo-3ee84d976f959034ecf3b0347f74486084e493bb.tar.gz gentoo-3ee84d976f959034ecf3b0347f74486084e493bb.tar.bz2 gentoo-3ee84d976f959034ecf3b0347f74486084e493bb.zip | |
Merge updates from master
Diffstat (limited to 'dev-vcs/git/files/git-2.37.2-unsafe-directory.patch')
| -rw-r--r-- | dev-vcs/git/files/git-2.37.2-unsafe-directory.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/dev-vcs/git/files/git-2.37.2-unsafe-directory.patch b/dev-vcs/git/files/git-2.37.2-unsafe-directory.patch deleted file mode 100644 index 27bf5413753a..000000000000 --- a/dev-vcs/git/files/git-2.37.2-unsafe-directory.patch +++ /dev/null @@ -1,14 +0,0 @@ -Neuter the "safe directory" feature, except for tests. ---- a/setup.c -+++ b/setup.c -@@ -1157,7 +1157,9 @@ static int ensure_valid_ownership(const char *gitfile, - */ - read_very_early_config(safe_directory_cb, &data); - -- return data.is_safe; -+ if (git_env_bool("GIT_TEST_ASSUME_DIFFERENT_OWNER", 0)) -+ return data.is_safe; -+ return 1; - } - - enum discovery_result { |
