aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-10-19 16:32:35 -0400
committerAdam Harrison <adamdharrison@gmail.com>2024-10-19 16:32:35 -0400
commit39a8632d26af03e824a165ca4ad4071a972392be (patch)
tree745a27533a871b3fc544a900b638d881aed37cd0
parentaf3f98690ca947dde5854c6b5c230edfe2e7234e (diff)
downloadlite-xl-plugin-manager-39a8632d26af03e824a165ca4ad4071a972392be.tar.gz
lite-xl-plugin-manager-39a8632d26af03e824a165ca4ad4071a972392be.zip
Reported actual improvement.
-rw-r--r--CHANGELOG.md2
-rw-r--r--src/lpm.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 27fef84..09ec204 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,7 @@
# 1.3.0
* Signficiant workflow changes, courtesy of Takase "Big T" @takase1121.
-* Significantly increased performance of installing lots of plugins (like when constructing bottles).
+* Significantly increased performance of installing lots of plugins (like when constructing bottles) (~50x speed improvement).
* Better debugging facilities for HTTP requests.
* Better support for modifying bottles (including the system bottle) in a delta, rather than deleting and recreating.
* Fixed an issue with not always detecting orphaned dependencies in meta plugins.
diff --git a/src/lpm.lua b/src/lpm.lua
index 4b211f8..c8f3199 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1302,7 +1302,7 @@ end
function Repository:add(pull_remotes)
-- If neither specified then pull onto `master`, and check the main branch name, and move if necessary.
- local manifest, remotes = self:fetch():parse_manifest()
+ local manifest, remotes = self:fetch_if_not_present():parse_manifest()
if pull_remotes then -- any remotes we don't have in our listing, call add, and add into the list
for i, remote in ipairs(remotes) do
if not common.first(repositories, function(repo) return repo.remote == remote.remote and repo.branch == remote.branch and repo.commit == remote.commit end) then