diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-08-17 13:44:56 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-08-17 13:44:56 -0400 |
commit | 6bcc10e083a050d27af480b0e81510d1d1527b15 (patch) | |
tree | d68bfff8eeacf360bccd2ef4445abee814196a11 /src | |
parent | c34910937d77a19e9bf85fe9a58a4c51b3dfe0e8 (diff) | |
download | lite-xl-plugin-manager-6bcc10e083a050d27af480b0e81510d1d1527b15.tar.gz lite-xl-plugin-manager-6bcc10e083a050d27af480b0e81510d1d1527b15.zip |
Made things clearer.
Diffstat (limited to 'src')
-rw-r--r-- | src/lpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -444,7 +444,7 @@ static int lpm_fetch(lua_State* L) { git_fetch_options fetch_opts = GIT_FETCH_OPTIONS_INIT; fetch_opts.download_tags = GIT_REMOTE_DOWNLOAD_TAGS_ALL; fetch_opts.callbacks.payload = L; - #if (LIBGIT2_VER_MAJOR >= 1 && LIBGIT2_VER_MINOR >= 7) || LIBGIT2_VER_MAJOR > 1 + #if (LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR >= 7) || LIBGIT2_VER_MAJOR > 1 fetch_opts.depth = 1; #endif if (no_verify_ssl) |