]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Config.pm
www_coderepo: wire up snapshots from summary
[public-inbox.git] / lib / PublicInbox / Config.pm
index 5cdf182ea3b61ef3a930c13eaeb94c08ab947d6a..a430cd5ccd2106d886bd7d8feda0b72acb8e7904 100644 (file)
@@ -325,6 +325,8 @@ sub parse_cgitrc {
                } elsif (m!\A(?:css|favicon|logo|repo\.logo)=(/.+)\z!) {
                        # absolute paths for static files via PublicInbox::Cgit
                        $self->{-cgit_static}->{$1} = 1;
+               } elsif (s!\Asnapshots=\s*!!) {
+                       $self->{'coderepo.snapshots'} = $_;
                }
        }
        cgit_repo_merge($self, $repo->{dir}, $repo) if $repo;