From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id D282E1FB06 for ; Sun, 12 Sep 2021 07:47:16 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 5/7] import: do not write a "description" file Date: Sun, 12 Sep 2021 07:47:14 +0000 Message-Id: <20210912074716.4713-6-e@80x24.org> In-Reply-To: <20210912074716.4713-1-e@80x24.org> References: <20210912074716.4713-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: The default value is worthless to us and git functions fine without the file. public-inbox-init will create a useful one in the next change. --- lib/PublicInbox/Import.pm | 3 --- t/www_listing.t | 1 - 2 files changed, 4 deletions(-) diff --git a/lib/PublicInbox/Import.pm b/lib/PublicInbox/Import.pm index 362cdc47..17adfabd 100644 --- a/lib/PublicInbox/Import.pm +++ b/lib/PublicInbox/Import.pm @@ -451,9 +451,6 @@ sub add { } my @INIT_FILES = ('HEAD' => undef, # filled in at runtime - 'description' => < <{git_dir}/description"), 'removed bare/description'); open $fh, '>', $cfgfile or xbail "open $cfgfile: $!"; $fh->autoflush(1); print $fh <<"" or xbail "print $!";