From: Junio C Hamano Date: Sat, 18 Jun 2022 00:12:31 +0000 (-0700) Subject: Merge branch 'cb/path-owner-check-with-sudo-plus' X-Git-Tag: v2.37.0-rc1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=694c0cc0fb531b17750ac6e81920054f193f8eb8;p=thirdparty%2Fgit.git Merge branch 'cb/path-owner-check-with-sudo-plus' "sudo git foo" used to consider a repository owned by the original user a safe one to access; it now also considers a repository owned by root a safe one, too (after all, if an attacker can craft a malicious repository owned by root, the box is 0wned already). * cb/path-owner-check-with-sudo-plus: git-compat-util: allow root to access both SUDO_UID and root owned --- 694c0cc0fb531b17750ac6e81920054f193f8eb8