Thomas Weißschuh <[email protected]> wrote: > diff --git a/lib/PublicInbox/SolverGit.pm b/lib/PublicInbox/SolverGit.pm > index 5d5060f4..f9ce3793 100644 > --- a/lib/PublicInbox/SolverGit.pm > +++ b/lib/PublicInbox/SolverGit.pm > @@ -18,6 +18,7 @@ use PublicInbox::Qspawn; > use PublicInbox::Tmpfile; > use PublicInbox::GitAsyncCat; > use PublicInbox::Eml; > +use PublicInbox::Import;
I'm hesitant to add PublicInbox::Import to code used in read-only daemons. > @@ -304,7 +306,7 @@ EOF > close $fh or die "close git/config: $!"; > > open $fh, '>', "$git_dir/HEAD" or die "open git/HEAD: $!"; > - print $fh "ref: refs/heads/master\n" or die "print git/HEAD: $!"; > + print $fh "ref: $default_branch\n" or die "print git/HEAD: $!"; Having a global init.defaultBranch set doesn't seem to affect SolverGit at all, and everything in solver repos is short-lived. Replacing "master" with "s" might be an option for saving a teeny bit of memory traffic, here. *shrug* -- unsubscribe: one-click, see List-Unsubscribe header archive: https://public-inbox.org/meta/
