summaryrefslogtreecommitdiffhomepage
path: root/patches/git
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2022-10-30 21:34:41 +0100
committerØrjan Malde <red@foxi.me>2022-10-30 22:22:36 +0100
commit6e73e80144d5dfd2f23dfd817698dcb210413c97 (patch)
treede3b4f278f06bdab631264d4d1eef80c5c921ad6 /patches/git
parentaff0081f35951e8e09614c67fbccd8f81f5e6b36 (diff)
downloadmidipix_build-6e73e80144d5dfd2f23dfd817698dcb210413c97.tar.bz2
midipix_build-6e73e80144d5dfd2f23dfd817698dcb210413c97.tar.xz
group/010.host_deps.group: adds git_host 2.35.5
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches/git')
-rw-r--r--patches/git/git-no-owner-check.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/git/git-no-owner-check.patch b/patches/git/git-no-owner-check.patch
new file mode 100644
index 00000000..a4cf34db
--- /dev/null
+++ b/patches/git/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)
+ {
++#if 1
++ (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 {