- $config->{'publicinboxwatch.spamcheck'} = 'spamc';
- @list = $git->qx(qw(ls-tree -r --name-only refs/heads/master));
- PublicInbox::Watch->new($config)->scan('full');
- @list = $git->qx(qw(ls-tree -r --name-only refs/heads/master));
+ $cfg->{'publicinboxwatch.spamcheck'} = 'spamc';
+ @list = $git->qx('ls-tree', '-r', '--name-only', $default_branch);
+ PublicInbox::Watch->new($cfg)->scan('full');
+ @list = $git->qx('ls-tree', '-r', '--name-only', $default_branch);