From: Eric Wong Date: Fri, 30 Dec 2022 10:59:38 +0000 (+0000) Subject: clone: --dry-run unconditionally runs show-ref X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=b70592ae75f1251c2b116c8bb58a671534c650b4 clone: --dry-run unconditionally runs show-ref It's useful to show what's being updated, of course. --- diff --git a/lib/PublicInbox/LeiMirror.pm b/lib/PublicInbox/LeiMirror.pm index 5952ed52..bfbfd843 100644 --- a/lib/PublicInbox/LeiMirror.pm +++ b/lib/PublicInbox/LeiMirror.pm @@ -493,7 +493,6 @@ sub cmp_fp_do { $self->{-show_ref} = $opt->{1}; do_reap($self); $self->{lei}->qerr("# @$cmd"); - return if $self->{dry_run}; $LIVE->{spawn($cmd, undef, $opt)} = [ \&fp_done, $self, $cmd, $cb, @arg ]; }