From: Eric Wong Date: Tue, 16 Sep 2025 21:42:58 +0000 (+0000) Subject: compact: support --cow/--no-cow switch X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4471ceb74bc263c1cb894dafe785e4c20fba2aa;p=thirdparty%2Fpublic-inbox.git compact: support --cow/--no-cow switch Users on btrfs may prefer to sacrifice performance for data safety with RAID. Allow them to do so by supporting the --cow switch. I missed this when I added --cow support to the other commands. Fixes: db671788 (support --cow switch to preserve CoW on btrfs, 2025-08-26) --- diff --git a/script/public-inbox-compact b/script/public-inbox-compact index 1062be5a0..8d51d92e0 100755 --- a/script/public-inbox-compact +++ b/script/public-inbox-compact @@ -19,7 +19,7 @@ See public-inbox-compact(1) man page for full documentation. EOF GetOptions($opt, qw(all C=s@ help|h), # compact options: - qw(jobs|j=i quiet|q blocksize|b=s no-full|n fuller|F), + qw(jobs|j=i quiet|q blocksize|b=s no-full|n fuller|F cow!), ) or die $help; if ($opt->{help}) { print $help; exit 0 };