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' => <<EOD,
-Unnamed repository; edit this file 'description' to name the repository.
-EOD
'config' => <<EOC);
[core]
repositoryFormatVersion = 0
diff --git a/t/www_listing.t b/t/www_listing.t
index 7ea12eea..5f90139a 100644
--- a/t/www_listing.t
+++ b/t/www_listing.t
@@ -101,7 +101,6 @@ SKIP: {
is(xsys('git', "--git-dir=$alt", qw(config gitweb.owner),
"lorelei \xc4\x80"), 0,
'set gitweb user');
- ok(unlink("$bare->{git_dir}/description"), 'removed bare/description');
open $fh, '>', $cfgfile or xbail "open $cfgfile: $!";
$fh->autoflush(1);
print $fh <<"" or xbail "print $!";
--
unsubscribe: one-click, see List-Unsubscribe header
archive: https://public-inbox.org/meta/