r-lib / gert

Simple git client for R
https://docs.ropensci.org/gert/
Other
146 stars 31 forks source link

config value 'safe.directory' was not found #181

Open jeroen opened 2 years ago

jeroen commented 2 years ago

After upgrading to libgit2 1.5.0 some actions are showing:

Error in libgit2::git_repository_open_ext : 
  config value 'safe.directory' was not found

For example here.

I think this is a new security feature in libgit2, but it seems a bit overzealous?

jeroen commented 2 years ago

Downgraded the static build to libgit2 1.4.2 for now until this is resolved upstream.

appetrosyan commented 1 year ago

I think this is a new security feature in libgit2, but it seems a bit overzealous?

Not really. This only matters on multi-user machines. Making it mandatory, is for lack of a better word, bad design.