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

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

[nongnu] elpa/annotate 3a062310d0 080/372: - do not checks for fingerpri


From: ELPA Syncer
Subject: [nongnu] elpa/annotate 3a062310d0 080/372: - do not checks for fingerprints if annotations file has old format.
Date: Fri, 4 Feb 2022 16:58:20 -0500 (EST)

branch: elpa/annotate
commit 3a062310d0a93fb19670ae1dcf59c998182c4702
Author: cage <cage-invalid@invalid>
Commit: cage <cage-invalid@invalid>

    - do not checks for fingerprints  if annotations file has old format.
---
 annotate.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/annotate.el b/annotate.el
index 6d277ec1fa..5022cadcb5 100644
--- a/annotate.el
+++ b/annotate.el
@@ -710,7 +710,8 @@ an overlay and it's annotation."
   (format "-%i,%i +%i,%i" start-line diff-size start-line diff-size)))
 
 (defun annotate-checksum-from-dump (record)
-  (nth 2 record))
+  (and (> (length record) 2)
+       (nth 2 record)))
 
 (defun annotate-annotations-from-dump (record)
   (nth 1 record))



reply via email to

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