diff options
author | Eric Wong <e@80x24.org> | 2022-10-20 08:43:10 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-10-24 08:18:26 +0000 |
commit | f4f8acc91796060dbf680198201f9a82d8fe6c88 (patch) | |
tree | 71068c9fb562aa15f9d287cd9e6278ffcb4b814e /xt | |
parent | 8816336b59c9dd0b26c8620668a01b66c0818a1e (diff) | |
download | public-inbox-f4f8acc91796060dbf680198201f9a82d8fe6c88.tar.gz |
While SHA-256 isn't supported for inboxes, yet xt/git-http-backend.t now runs properly against a SHA-256 code repository
Diffstat (limited to 'xt')
-rw-r--r-- | xt/git-http-backend.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xt/git-http-backend.t b/xt/git-http-backend.t index adadebb0..1f3ba063 100644 --- a/xt/git-http-backend.t +++ b/xt/git-http-backend.t @@ -1,4 +1,4 @@ -# Copyright (C) 2016-2021 all contributors <meta@public-inbox.org> +# Copyright (C) all contributors <meta@public-inbox.org> # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> # # Ensure buffering behavior in -httpd doesn't cause runaway memory use @@ -53,7 +53,7 @@ SKIP: { } } skip "no packs found in $git_dir" unless defined $pack; - if ($pack !~ m!(/objects/pack/pack-[a-f0-9]{40}.pack)\z!) { + if ($pack !~ m!(/objects/pack/pack-[a-f0-9]{40,64}.pack)\z!) { skip "bad pack name: $pack"; } my $url = $1; |