diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-11-23 21:54:39 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-23 21:54:39 -0800 |
commit | 75a7ea258c0644b79e57cab3a345807f4017dfd2 (patch) | |
tree | 0d55ddcfcbf550dc552a55c9ce15847d1c17114d /builtin-prune-packed.c | |
parent | 483106089aea7ad856b7f940e20db254b08bad81 (diff) | |
parent | 4f366275189c06ec26c01ee5ace2f3831b2aa46a (diff) | |
download | git-75a7ea258c0644b79e57cab3a345807f4017dfd2.tar.gz |
Merge branch 'maint'
* maint:
pack-objects: split implications of --all-progress from progress activation
instaweb: restart server if already running
prune-packed: only show progress when stderr is a tty
Conflicts:
builtin-pack-objects.c
Diffstat (limited to 'builtin-prune-packed.c')
-rw-r--r-- | builtin-prune-packed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-prune-packed.c b/builtin-prune-packed.c index be99eb0ac4..f9463deec2 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), |