X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin-prune-packed.c;h=f9463deec2f5a5875ee9870e67c990a2fea942db;hb=cab1b013e6f7cc52806926a792c6798f4c7ac4be;hp=be99eb0ac4162411d63d10003fa80e12206b8cc6;hpb=ee50af1566e78354c1a2d0feea2115b99a535d9d;p=git.git diff --git a/builtin-prune-packed.c b/builtin-prune-packed.c index be99eb0ac..f9463deec 100644 --- a/builtin-prune-packed.c +++ b/builtin-prune-packed.c @@ -71,7 +71,7 @@ void prune_packed_objects(int opts) int cmd_prune_packed(int argc, const char **argv, const char *prefix) { - int opts = VERBOSE; + int opts = isatty(2) ? VERBOSE : 0; const struct option prune_packed_options[] = { OPT_BIT('n', "dry-run", &opts, "dry run", DRY_RUN), OPT_NEGBIT('q', "quiet", &opts, "be quiet", VERBOSE),