[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 73cef39917 12/49: WIP: Fix off-by-one
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 73cef39917 12/49: WIP: Fix off-by-one |
Date: |
Wed, 20 Sep 2023 19:01:32 -0400 (EDT) |
branch: elpa/hyperdrive
commit 73cef3991797d510307f35768af49d6a5e43b890
Author: Adam Porter <adam@alphapapa.net>
Commit: Joseph Turner <joseph@ushin.org>
WIP: Fix off-by-one
---
hyperdrive-lib.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 3ead991d8d..66a943b5cf 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -824,7 +824,7 @@ with no arguments."
(setf (hyperdrive-entry-version entry) (1- range-start))
(when (eq 'unknown (hyperdrive-entry-exists-p entry))
;; Recurse backward through history.
- (fill-entry entry :limit (1- limit))
+ (fill-entry entry :limit limit)
;; Return non-nil to indicate that a request was made.
t))))
(fill-nonexistent (entry limit)
@@ -873,7 +873,8 @@ with no arguments."
:queue nonexistent-queue)
(setf outstanding-nonexistent-requests-p t))))
(fill-entry (entry &key (limit
hyperdrive-fill-version-ranges-limit))
- (let ((copy-entry (hyperdrive-copy-tree entry t)))
+ (let ((copy-entry (hyperdrive-copy-tree entry t))
+ (limit (1- limit)))
(hyperdrive-fill copy-entry
;; `hyperdrive-fill' is only used to fill the version
ranges;
;; the filled-entry is thrown away.
- [nongnu] elpa/hyperdrive 8dc8f09a82 30/49: Comment: Add TODO, (continued)
- [nongnu] elpa/hyperdrive 8dc8f09a82 30/49: Comment: Add TODO, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 77186465d7 33/49: WIP: Fixes, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 1844b57f51 39/49: Fix: (-update-nonexistent-version-range) Add default finally, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 44413406c9 40/49: Change: (-history-fill-version-ranges) Add loading indicator, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive e2ddaa770c 01/49: Change: (hyperdrive-fill-version-ranges) Only recurse from ENTRY, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 509f72b4f0 02/49: Change: (hyperdrive-history) Display history buffer immediately, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive d93ab84313 06/49: Meta: Update changelog, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 32580aaa6c 07/49: Docs: Document hyperdrive-fill-version-ranges-limit, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive f2474f65f0 08/49: Change: (-fill-version-ranges) In ELSE, send parallel requests, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 063c2275d1 09/49: WIP: (-fill-version-ranges) Fill existent and nonexistent ranges, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 73cef39917 12/49: WIP: Fix off-by-one,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 05a0421bbb 16/49: Change: (hyperdrive-fill-version-ranges) Use finishedp flag, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive cb91f4adac 03/49: Add: (-history-fill-version-ranges) Interactively fill versions, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 2c8a76234d 20/49: Tidy: (-fill-version-ranges) Rename queue to fill-entry-queue, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 830904c5cf 22/49: Comment: Remove TODO, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 92a54cb93c 23/49: Fix: (hyperdrive-update-nonexistent-version-range) Docstring, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 53b48e337e 27/49: Tidy: (hyperdrive-fill-version-ranges) Don't let-bind finally, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 46490c55a2 26/49: Tidy: (-fill-version-ranges) Return nil from cl-dotimes for clarity, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 758486bcdd 28/49: Change: Rename hyperdrive-queue-size to hyperdrive-queue-limit, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive a61c660ee6 29/49: Change: (-fill-version-ranges) Rename limit to total-requests-limit, ELPA Syncer, 2023/09/20
- [nongnu] elpa/hyperdrive 11cf863344 31/49: Comment: Add TODO, ELPA Syncer, 2023/09/20