git.fiddlerwoaroof.com
Browse code

fix: use eight-character hashes instead of seven

Edward Langley authored on 02/11/2023 07:41:42
Showing 2 changed files
... ...
@@ -288,7 +288,7 @@
288 288
                     (asdf:system-relative-pathname
289 289
                      :co.fwoar.cl-git/tests
290 290
                      (format nil "tests/sample-git-objects/blob-~a-fixture"
291
-                             (subseq ref 0 7))))
291
+                             (subseq ref 0 8))))
292 292
                   (expectations
293 293
                     (alexandria:read-file-into-byte-vector expectations-file)))
294 294
              (5am:is
... ...
@@ -24,7 +24,7 @@
24 24
       (print-unreadable-object (o s :type t :identity t)
25 25
         (format s "(~a: ~a)"
26 26
                 (te-name o)
27
-                (subseq (hash o) 0 7)))))
27
+                (subseq (hash o) 0 8)))))
28 28
 
29 29
 (defun parse-tree-entry (data)
30 30
   (values-list (partition 0 data :with-offset 20)))