aboutsummaryrefslogtreecommitdiffstats
path: root/stagit-index.c
diff options
context:
space:
mode:
Diffstat (limited to 'stagit-index.c')
-rw-r--r--stagit-index.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stagit-index.c b/stagit-index.c
index d2f22a5..735775b 100644
--- a/stagit-index.c
+++ b/stagit-index.c
@@ -188,10 +188,8 @@ 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, "");
-#ifdef GIT_OPT_SET_OWNER_VALIDATION
/* do not require the git repository to be owned by the current user */
git_libgit2_opts(GIT_OPT_SET_OWNER_VALIDATION, 0);
-#endif
#ifdef __OpenBSD__
if (pledge("stdio rpath", NULL) == -1)