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

settings: Expose GIT_OPT_SET_OWNER_VALIDATION option #971

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

Commits on Sep 29, 2023

  1. settings: Expose GIT_OPT_SET_OWNER_VALIDATION option

    By default, `libgit2` will throw an error if you try to open a
    repository not owned by the current user. An option to disable this
    validation is available, but wasn't being exposed in `rugged`.
    
    This commit exposes fetching and setting this option via a new
    `owner_validation` setting.
    
    (My use case is using `rugged` in a ruby language AWS lambda function
    connected to EFS. In this scenario, the EFS access point is configured
    with a POSIX user ID and group ID `used for all file system operations
    using this access point`, but the lambda's execution environment's uid
    is not known upfront and won't match).
    alexjfisher committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    cd1debe View commit details
    Browse the repository at this point in the history