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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make owner validation configurable #2093

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ltrzesniewski
Copy link

@ltrzesniewski ltrzesniewski commented May 7, 2024

This adds a GlobalSettings.OwnerValidation property which wraps git_libgit2_opts(GIT_OPT_[GET/SET]_OWNER_VALIDATION).

I needed to disable this (I'm using a safe environment), and I had to do this through reflection, but I suppose other people may have the same problem so exposing the feature in the library would be better. 馃檪

Closes #2036

Edit: I'm an idiot, I forgot to check whether someone else submitted a PR for this, so this duplicates #2042, sorry 馃う
I'm leaving this open so you can choose the implementation, and this one also lets you retrieve the current option value.

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

Successfully merging this pull request may close these issues.

Expose the repository directory ownership validation option
1 participant