Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jeroen opened this issue Aug 23, 2022 · 2 comments
Open

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

jeroen opened this issue Aug 23, 2022 · 2 comments

Comments

@jeroen
Copy link
Member

jeroen commented Aug 23, 2022

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
Copy link
Member Author

jeroen commented Aug 23, 2022

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

@appetrosyan
Copy link

appetrosyan commented Dec 26, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants