From: Junio C Hamano Date: Thu, 26 May 2022 21:51:32 +0000 (-0700) Subject: Merge branch 'cb/path-owner-check-with-sudo' X-Git-Tag: v2.30.5~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b779214eafe7fa6933524737f166ecca99bdf468;p=thirdparty%2Fgit.git 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 Signed-off-by: Johannes Schindelin --- b779214eafe7fa6933524737f166ecca99bdf468