From: Eric Wong Date: Sun, 12 Sep 2021 07:47:14 +0000 (+0000) Subject: import: do not write a "description" file X-Git-Tag: v1.7.0~400 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9626c1a6b368dc09425c1d578ba9ce4efc1af9fc;p=public-inbox.git 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. --- 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 $!";