diff options
author | Eric Wong <e@80x24.org> | 2019-11-28 20:54:35 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-11-29 01:56:24 +0000 |
commit | f425bacfb75db2c454a6bc7b0a0845e7520e0a48 (patch) | |
tree | 03c8aba5434baec667e6bc4391e8513f4f110239 /lib | |
parent | a995291288a350f426890e57e0bc4a6041c3c8ed (diff) | |
download | public-inbox-f425bacfb75db2c454a6bc7b0a0845e7520e0a48.tar.gz |
Since we give users no indication or control of how "git gc" runs, showing its progress is confusing.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/Import.pm | 2 | ||||
-rw-r--r-- | lib/PublicInbox/V2Writable.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/Import.pm b/lib/PublicInbox/Import.pm index cb25215d..8a369ee4 100644 --- a/lib/PublicInbox/Import.pm +++ b/lib/PublicInbox/Import.pm @@ -595,7 +595,7 @@ sub replace_oids { return if $nreplace == 0; - run_die([@git, qw(-c gc.reflogExpire=now gc --prune=all)]); + run_die([@git, qw(-c gc.reflogExpire=now gc --prune=all --quiet)]); # check that old OIDs are gone my $err = 0; diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm index 02f313b0..ab80941a 100644 --- a/lib/PublicInbox/V2Writable.pm +++ b/lib/PublicInbox/V2Writable.pm @@ -1204,7 +1204,7 @@ sub unindex ($$$$) { # ensure any blob can not longer be accessed via dumb HTTP PublicInbox::Import::run_die(['git', "--git-dir=$git->{git_dir}", - qw(-c gc.reflogExpire=now gc --prune=all)]); + qw(-c gc.reflogExpire=now gc --prune=all --quiet)]); } sub sync_ranges ($$$) { |