diff options
author | Ørjan Malde <red@foxi.me> | 2022-10-19 13:52:02 +0200 |
---|---|---|
committer | Ørjan Malde <red@foxi.me> | 2022-10-19 13:52:40 +0200 |
commit | 431e76dbcfee938f565eee5712b8b40ffb58c346 (patch) | |
tree | 20c446c455a8cfb6a577a4f25379e873b1b8eb06 /patches/git-no-owner-check.patch | |
parent | 45495617ce176fff0e9b3fc0b4f691b9c8fbf0be (diff) | |
download | midipix_build-431e76dbcfee938f565eee5712b8b40ffb58c346.tar.bz2 midipix_build-431e76dbcfee938f565eee5712b8b40ffb58c346.tar.xz |
groups/241.native_packages_inet.group: git: bump to v2.35.5
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches/git-no-owner-check.patch')
-rw-r--r-- | patches/git-no-owner-check.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/git-no-owner-check.patch b/patches/git-no-owner-check.patch new file mode 100644 index 00000000..cc9d0141 --- /dev/null +++ b/patches/git-no-owner-check.patch @@ -0,0 +1,25 @@ +diff -ru git-2.35.5.orig/setup.c git-2.35.5/setup.c +--- git-2.35.5.orig/setup.c 2022-10-06 23:44:02.000000000 +0200 ++++ git-2.35.5/setup.c 2022-10-19 13:48:26.183628821 +0200 +@@ -1130,6 +1130,13 @@ + static int ensure_valid_ownership(const char *gitfile, + const char *worktree, const char *gitdir) + { ++#ifdef __midipix__ ++ (void)gitfile; ++ (void)worktree; ++ (void)gitdir; ++ ++ return 1; ++#else + struct safe_directory_data data = { + .path = worktree ? worktree : gitdir + }; +@@ -1148,6 +1155,7 @@ + read_very_early_config(safe_directory_cb, &data); + + return data.is_safe; ++#endif + } + + enum discovery_result { |