diff options
author | Taylor Blau <me@ttaylorr.com> | 2021-09-28 21:55:15 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-28 21:20:56 -0700 |
commit | 5f18e31f4642f4daf398d0903e3fb3233b86f174 (patch) | |
tree | 4d7df4c5a5a0859113a0d7d4f56569ce0096480a /t | |
parent | builtin/repack.c: rename variables that deal with non-kept packs (diff) | |
download | tgif-5f18e31f4642f4daf398d0903e3fb3233b86f174.tar.xz |
builtin/repack.c: extract showing progress to a variable
We only ask whether stderr is a tty before calling
'prune_packed_objects()', but the subsequent patch will add another use.
Extract this check into a variable so that both can use it without
having to call 'isatty()' twice.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions