diff options
Diffstat (limited to 'hosts/ahmed')
-rw-r--r-- | hosts/ahmed/git.linus.onl/no-ownership-check-for-root.patch | 6 |
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) && |