diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2024-01-18 18:09:54 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2024-01-18 18:09:54 -0500 |
commit | cda6773cdb86333ab90913ef25394b1b9b601818 (patch) | |
tree | 4cb2a6249453ef4034eef16b9c3789f7c4d0a5d1 | |
parent | f81117be5164e48b909cb5dff4a7dc870eaa0c87 (diff) | |
download | lite-xl-plugin-manager-1.0.14.tar.gz lite-xl-plugin-manager-1.0.14.zip |
Removing empty comments.v1.0.14
-rw-r--r-- | src/lpm.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -453,11 +453,9 @@ static int lpm_fetch(lua_State* L) { if (lua_type(L, 2) == LUA_TFUNCTION) fetch_opts.callbacks.transfer_progress = lpm_git_transfer_progress_cb; git_strarray array = { (char**)&refspec, 1 }; - // int error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &fetch_opts.callbacks, NULL, NULL) || - git_remote_download(remote, refspec ? &array : NULL, &fetch_opts) || - git_remote_update_tips(remote, &fetch_opts.callbacks, fetch_opts.update_fetchhead, fetch_opts.download_tags, NULL); - + git_remote_download(remote, refspec ? &array : NULL, &fetch_opts) || + git_remote_update_tips(remote, &fetch_opts.callbacks, fetch_opts.update_fetchhead, fetch_opts.download_tags, NULL); if (!error) { git_buf branch_name = {0}; if (!git_remote_default_branch(&branch_name, remote)) { |