From 9626c1a6b368dc09425c1d578ba9ce4efc1af9fc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 12 Sep 2021 07:47:14 +0000 Subject: [PATCH] import: do not write a "description" file 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 $!"; -- 2.44.0