]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Import.pm
dsdeflate: shorten scope of initial buffer
[public-inbox.git] / lib / PublicInbox / Import.pm
index 362cdc47375db4b7947c41747c6d15bf91583d7d..60ce7b66419b3ee0e9ad2dca4b93644497539378 100644 (file)
@@ -423,7 +423,7 @@ sub add {
                                $x->dbh;
                                $x;
                        };
-                       return if !$u->set_maybe(pack('H*', $smsg->{blob}), 1);
+                       return if !$u->set_maybe($smsg->oidbin, 1);
                        return if (!$oidx->vivify_xvmd($smsg) &&
                                        $eidx_git->check($smsg->{blob}));
                }
@@ -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