summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-12-05 23:48:23 +0100
committerLinnnus <[email protected]>2024-12-06 08:32:44 +0100
commita8f41868ae0195ddb017e1fdd0e168aaff88ca47 (patch)
tree99921eb230b5f1852aa5c6c5ce4247ce4a8ec564
parente9a101ee0855ffe760dfee6a3bb59361c9c528ef (diff)
fix: Update git patches for 2.47.0
-rw-r--r--hosts/ahmed/git.linus.onl/no-ownership-check-for-root.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/ahmed/git.linus.onl/no-ownership-check-for-root.patch b/hosts/ahmed/git.linus.onl/no-ownership-check-for-root.patch
index 7749d2d..3b8868c 100644
--- a/hosts/ahmed/git.linus.onl/no-ownership-check-for-root.patch
+++ b/hosts/ahmed/git.linus.onl/no-ownership-check-for-root.patch
@@ -9,6 +9,6 @@ index 18927a8..ac6823f 100644
+ if (git_env_bool("GIT_NO_CHECK_OWNERSHIP", 0))
+ return 1;
+
- struct safe_directory_data data = {
- .path = worktree ? worktree : gitdir
- };
+ struct safe_directory_data data = { 0 };
+
+ if (!git_env_bool("GIT_TEST_ASSUME_DIFFERENT_OWNER", 0) &&