]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'cb/path-owner-check-with-sudo'
authorJunio C Hamano <gitster@pobox.com>
Thu, 26 May 2022 21:51:32 +0000 (14:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 May 2022 21:51:32 +0000 (14:51 -0700)
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

1  2 
Documentation/config/safe.txt
git-compat-util.h

Simple merge
Simple merge