diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-06-20 15:26:23 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-06-20 15:26:23 -0400 |
commit | 4a0468e9c4c51c258d4f2c1ab8b3d33b29a0f4e4 (patch) | |
tree | ab021674093dd471fc0c2aa4684bdc24472641cf /src/lpm.c | |
parent | 3ae700046f77fa3c674d5a2d5c810d0d8526dd64 (diff) | |
parent | dcb46d8e39b673b11cd6b225103291fc03003343 (diff) | |
download | lite-xl-plugin-manager-4a0468e9c4c51c258d4f2c1ab8b3d33b29a0f4e4.tar.gz lite-xl-plugin-manager-4a0468e9c4c51c258d4f2c1ab8b3d33b29a0f4e4.zip |
Merge branch 'master' of github.com:adamharrison/lite-xl-plugin-manager
Diffstat (limited to 'src/lpm.c')
-rw-r--r-- | src/lpm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -324,6 +324,9 @@ static void git_init() { git_libgit2_init(); if (git_cert_type) git_libgit2_opts(GIT_OPT_SET_SSL_CERT_LOCATIONS, git_cert_type == 2 ? git_cert_path : NULL, git_cert_type == 1 ? git_cert_path : NULL); + git_libgit2_opts(GIT_OPT_SET_SEARCH_PATH, GIT_CONFIG_LEVEL_SYSTEM, "."); + git_libgit2_opts(GIT_OPT_SET_SEARCH_PATH, GIT_CONFIG_LEVEL_GLOBAL, "."); + git_libgit2_opts(GIT_OPT_SET_SEARCH_PATH, GIT_CONFIG_LEVEL_XDG, "."); git_initialized = 1; } } |