about summary refs log tree commit homepage
path: root/script/public-inbox-purge
diff options
context:
space:
mode:
Diffstat (limited to 'script/public-inbox-purge')
-rwxr-xr-xscript/public-inbox-purge7
1 files changed, 1 insertions, 6 deletions
diff --git a/script/public-inbox-purge b/script/public-inbox-purge
index 846557ca..0705d170 100755
--- a/script/public-inbox-purge
+++ b/script/public-inbox-purge
@@ -45,12 +45,7 @@ foreach my $ibx (@ibxs) {
         $v2w->done;
 
         if ($opt->{verbose}) { # should we consider this machine-parseable?
-                print "$ibx->{mainrepo}:";
-                if (scalar @$commits) {
-                        print join("\n\t", '', @$commits), "\n";
-                } else {
-                        print " NONE\n";
-                }
+                PublicInbox::AdminEdit::show_rewrites(\*STDOUT, $ibx, $commits);
         }
         $n_purged += scalar @$commits;
 }