lint: 'check-patch-file-names' restricts to shorter file names.
authorLudovic Courtès <ludo@gnu.org>
Fri, 10 Apr 2020 13:58:01 +0000 (15:58 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 10 Apr 2020 14:02:51 +0000 (16:02 +0200)
* guix/lint.scm (check-patch-file-names): Increase MARGIN.

guix/lint.scm

index bda5c0c..e192f29 100644 (file)
@@ -686,7 +686,7 @@ patch could not be found."
 
      ;; Check whether we're reaching tar's maximum file name length.
      (let ((prefix (string-length (%distro-directory)))
-           (margin (string-length "guix-0.13.0-10-123456789/"))
+           (margin (string-length "guix-2.0.0rc3-10000-1234567890/"))
            (max    99))
        (filter-map (match-lambda
                      ((? string? patch)