Sync with 2.30.5

* maint-2.30: Git 2.30.5 setup: tighten ownership checks post CVE-2022-24765 git-compat-util: allow root to access both SUDO_UID and root owned t0034: add negative tests and allow git init to mostly work under sudo git-compat-util: avoid failing dir ownership checks if running privileged t: regression git needs safe.directory when using sudo

Johannes Schindelin committed Jun 23, 2022 at 12:35 UTC 2f8809f9a1838eb607f14097dcd63071f2eb00fe

No changes.