stagit

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.clttr.info/stagit.git
Log | Files | Refs | README | LICENSE | Feed

commit 73af75afb74c780cc9fd5e2cfd4c70520a13c013
parent 164795c9c081578659d9fa4394b4d4fd9b978881
Author: Gitea <gitea@fake.local>
Date:   Sat,  4 Jun 2022 22:00:27 +0200

Revert "Allow git to run on an other user repository"

This reverts commit 1357ad5181f80a99fe9c436af134e947ec7f4d29.

Diffstat:
Mstagit-index.c | 2--
Mstagit.c | 2--
2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/stagit-index.c b/stagit-index.c @@ -189,8 +189,6 @@ main(int argc, char *argv[]) git_libgit2_init(); for (i = 1; i <= GIT_CONFIG_LEVEL_APP; i++) git_libgit2_opts(GIT_OPT_SET_SEARCH_PATH, i, ""); - /* do not require the git repository to be owned by the current user */ - git_libgit2_opts(GIT_OPT_SET_OWNER_VALIDATION, 0); #ifdef __OpenBSD__ if (pledge("stdio rpath", NULL) == -1) diff --git a/stagit.c b/stagit.c @@ -1235,8 +1235,6 @@ main(int argc, char *argv[]) git_libgit2_init(); for (i = 1; i <= GIT_CONFIG_LEVEL_APP; i++) git_libgit2_opts(GIT_OPT_SET_SEARCH_PATH, i, ""); - /* do not require the git repository to be owned by the current user */ - git_libgit2_opts(GIT_OPT_SET_OWNER_VALIDATION, 0); #ifdef __OpenBSD__ if (unveil(repodir, "r") == -1)