emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/hyperdrive 8dc8f09a82 30/49: Comment: Add TODO


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive 8dc8f09a82 30/49: Comment: Add TODO
Date: Wed, 20 Sep 2023 19:01:33 -0400 (EDT)

branch: elpa/hyperdrive
commit 8dc8f09a82e3824fd6f4136d4d017cb0a00dcb81
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>

    Comment: Add TODO
---
 hyperdrive-lib.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 34fcccd6ad..705672a419 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -388,6 +388,8 @@ If ENTRY is a directory, return a copy with decremented 
version."
         (when (> version 1)
           (hyperdrive-entry-create :hyperdrive hyperdrive :path path :version 
(1- version))))
     (when-let ((previous-entry (hyperdrive-entry-at (1- (car 
(hyperdrive-entry-version-range entry))) entry)))
+      ;; TODO(A): Check `hyperdrive-version-ranges' to see if there are
+      ;; existing versions prior to nonexistent range
       ;; Entry version is currently its range end, but it should be its 
version range start.
       (setf (hyperdrive-entry-version previous-entry) (car 
(hyperdrive-entry-version-range previous-entry)))
       previous-entry)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]