diff --git a/patches/git/git-no-owner-check.patch b/patches/git/git-no-owner-check.patch new file mode 100644 index 0000000..8eaffbb --- /dev/null +++ b/patches/git/git-no-owner-check.patch @@ -0,0 +1,22 @@ +diff -ru git-2.35.2.orig/setup.c git-2.35.2/setup.c +--- git-2.35.2.orig/setup.c 2022-09-25 15:35:21.270533842 +0200 ++++ git-2.35.2/setup.c 2022-09-25 15:33:14.246537819 +0200 +@@ -1116,6 +1116,10 @@ + + static int ensure_valid_ownership(const char *path) + { ++#ifdef __midipix__ ++ (void)path; ++ return 1; ++#else + struct safe_directory_data data = { .path = path }; + + if (is_path_owned_by_current_user(path)) +@@ -1124,6 +1128,7 @@ + read_very_early_config(safe_directory_cb, &data); + + return data.is_safe; ++#endif + } + + enum discovery_result {