Merge branch 'cb/path-owner-check-with-sudo'

With a recent update to refuse access to repositories of other people by default, "sudo make install" and "sudo git describe" stopped working. This series intends to loosen it while keeping the safety. * cb/path-owner-check-with-sudo: 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

Junio C Hamano committed May 26, 2022 at 14:51 UTC 2088a0c0cd61ab6c98064e68619e1d931a4619e2

No changes.