about summary refs log tree commit homepage
path: root/script/public-inbox-purge
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2019-06-10 16:58:55 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2019-06-10 17:53:08 +0000
commit6e507c8cb41b0d48963503a88034348d74506211 (patch)
tree396c754ab7983c06be1bb966304d91e8bfdcd389 /script/public-inbox-purge
parent45890d532f0ea68f5879b036b22d9dbd4e19754c (diff)
downloadpublic-inbox-6e507c8cb41b0d48963503a88034348d74506211.tar.gz
Fill in undef as "(unchanged)" when displaying commits
and prefix the epoch name.
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;
 }