mbox series

[v2,0/3] fix `sudo make install` regression in maint

Message ID 20220428105852.94449-1-carenas@gmail.com (mailing list archive)
Headers show
Series fix `sudo make install` regression in maint | expand

Message

Carlo Marcelo Arenas Belón April 28, 2022, 10:58 a.m. UTC
Mainly documentation (both in the manual and commit messages) and
extended/cleaner tests with the following considerations :

 * able to run as root, and therefore removed reported issue with message
 * remove perl function for a sudo native alternative and a more reliable
   execution by making sure to avoid its PATH interceptions.
 * would likely need more changes to the test framework to avoid odities
   but the deficiencies are clearly visible until then, and so safe for
   backporting.

Carlo Marcelo Arenas Belón (3):
  git-compat-util: avoid failing dir ownership checks if running privileged
  Documentation: explain how safe.directory works when running under sudo
  t: add tests for safe.directory when running with sudo

 Documentation/config/safe.txt  |  9 ++++
 git-compat-util.h              | 40 +++++++++++++++-
 t/t0034-root-safe-directory.sh | 87 ++++++++++++++++++++++++++++++++++
 3 files changed, 135 insertions(+), 1 deletion(-)
 create mode 100755 t/t0034-root-safe-directory.sh