[PATCH v2 0/3] fix `sudo make install` regression in maint
- From
Carlo Marcelo Arenas Belón <carenas@gmail.com>
- Date
- Apr 28, 2022, 10:58 UTC
- Message-ID
- <20220428105852.94449-1-carenas@gmail.com>
- In-Reply-To
- <20220428033544.68188-1-carenas@gmail.com>
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
-- 2.36.0.352.g0cd7feaf86f