* [PATCH] init: enable pack bitmaps by default
@ 2016-09-02 2:04 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-09-02 2:04 UTC (permalink / raw)
To: meta
We want to encourage users to serve repositories. So enable
bitmaps by default so performance suffers less with smart HTTP.
---
script/public-inbox-init | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/script/public-inbox-init b/script/public-inbox-init
index 54d6ce4..739ec9e 100755
--- a/script/public-inbox-init
+++ b/script/public-inbox-init
@@ -63,6 +63,10 @@ my $pfx = "publicinbox.$name";
my @x = (qw/git config/, "--file=$filename");
$git_dir = abs_path($git_dir);
x(qw(git init -q --bare), $git_dir);
+
+# set a reasonable default:
+x(qw/git config/, "--file=$git_dir/config", 'repack.writeBitmaps', 'true');
+
foreach my $addr (@address) {
next if $seen{lc($addr)};
x(@x, "--add", "$pfx.address", $addr);
--
EW
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-02 2:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-02 2:04 [PATCH] init: enable pack bitmaps by default Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).