]> Sergey Matveev's repositories - public-inbox.git/commitdiff
githttpbackend: serve $GIT_DIR/info/attributes
authorEric Wong <e@80x24.org>
Mon, 1 Apr 2019 23:54:40 +0000 (23:54 +0000)
committerEric Wong <e@80x24.org>
Tue, 2 Apr 2019 08:05:13 +0000 (08:05 +0000)
This will be useful for reproducibility when mirroring
coderepos and generating diffs.

lib/PublicInbox/GitHTTPBackend.pm

index ab43a009eacee48f118fc680f69ed3263dc6f68d..5750d254233a7a6f12c9539473e2db5800579628 100644 (file)
@@ -18,7 +18,7 @@ my $default_limiter = PublicInbox::Qspawn::Limiter->new(32);
 
 # n.b. serving "description" and "cloneurl" should be innocuous enough to
 # not cause problems.  serving "config" might...
-my @text = qw[HEAD info/refs
+my @text = qw[HEAD info/refs info/attributes
        objects/info/(?:http-alternates|alternates|packs)
        cloneurl description];