I believe the *safe.directory *config option is what we'll want to configure to alleviate this:
https://git-scm.com/docs/git-config#Documentation/git-config.txt-safedirectory On Sat, Apr 16, 2022 at 2:02 PM Ken Cunningham < ken.cunningham.web...@gmail.com> wrote: > the new git is causing headaches for me too. > > It delivers errors based on the ownership of directories above it, to > address this: > > https://github.blog/2022-04-12-git-security-vulnerability-announced/ > > which means that any kind of git work in the macports trees (owned by > macports) even as root now causes errors unless folder by folder exceptions > are made. Yuk. > > I rolled back to the last git before this fix for the time being. > > Ken