Only compr/hash details some things in verbose mode - dedup - deduplicating backup program
HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 1d030e78b7b8bcdbf805fc9080733e35e514b3af
DIR parent 6499f2d353ff8cc5cffeb336cee6c8dbf20679c2
HTML Author: sin <sin@2f30.org>
Date: Thu, 18 Apr 2019 11:38:26 +0100
Only compr/hash details some things in verbose mode
Diffstat:
M dinfo.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
DIR diff --git a/dinfo.c b/dinfo.c
@@ -29,15 +29,16 @@ print_info(int tflag)
{
struct stats *st = &snap_hdr.st;
- if (!tflag) {
+ if (verbose > 0)
fprintf(stderr, "Compression algorithm: %s\n",
compr_type2name(compr_algo));
fprintf(stderr, "Hash algorithm: %s\n",
hash_type2name(hash_algo));
- if (st->nr_blks == 0)
- return;
+ if (st->nr_blks == 0)
+ return;
+ if (!tflag) {
fprintf(stderr, "Original size: %llu bytes\n",
(unsigned long long)st->orig_size);
fprintf(stderr, "Compressed size: %llu bytes\n",