Sync with 2.31.4
commitfc0c773028685cdbae35c6c71f3fd3b87ab70985
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 23 Jun 2022 10:35:30 +0000 (23 12:35 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 23 Jun 2022 10:35:30 +0000 (23 12:35 +0200)
tree28e1948dec2d568d3591fa9f6b1b0e7b87d1a2f0
parent15304344342b7c888f732d28f908890d874bcb0c
parent5b1c746c352e85211770e5cbd26a433b3affd3b4
Sync with 2.31.4

* maint-2.31:
  Git 2.31.4
  Git 2.30.5
  setup: tighten ownership checks post CVE-2022-24765
  git-compat-util: allow root to access both SUDO_UID and root owned
  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
git-compat-util.h
setup.c