diff options
author | Adam <adamdharrison@gmail.com> | 2022-10-21 21:56:45 -0400 |
---|---|---|
committer | Adam <adamdharrison@gmail.com> | 2022-10-21 21:56:45 -0400 |
commit | 49bae736fc589a4a82cfeab1e73e3a9db650f190 (patch) | |
tree | cb652044ebaa287234a21388fef7e054288d16c5 /src/lpm.c | |
parent | 7a4896c3b3d2f41cda46959c25c1c7e13e79e116 (diff) | |
download | lite-xl-plugin-manager-49bae736fc589a4a82cfeab1e73e3a9db650f190.tar.gz lite-xl-plugin-manager-49bae736fc589a4a82cfeab1e73e3a9db650f190.zip |
Made sure to fetch all tags.
Diffstat (limited to 'src/lpm.c')
-rw-r--r-- | src/lpm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -341,6 +341,7 @@ static int lpm_fetch(lua_State* L) { return luaL_error(L, "git remote fetch error: %s", git_error_last_string()); } git_fetch_options fetch_opts = GIT_FETCH_OPTIONS_INIT; + fetch_opts.download_tags = GIT_REMOTE_DOWNLOAD_TAGS_ALL; if (git_remote_fetch(remote, NULL, &fetch_opts, NULL)) { git_remote_free(remote); git_repository_free(repository); |