diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-10-21 15:22:55 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-21 15:22:55 -0700 |
commit | 901f3d403ef2416fb287399f8ed9c5dc5fb632f9 (patch) | |
tree | 6f65c38eded340d5ce2c5eabb57bfdc78b5ca931 /transport.h | |
parent | 7101e10ce7ba917d1b7a6ff73e0008c2be4a43ed (diff) | |
download | git-901f3d403ef2416fb287399f8ed9c5dc5fb632f9.tar.gz |
fetch: pass summary_width down the callchain
The leaf function on the "fetch" side that uses TRANSPORT_SUMMARY_WIDTH
constant is builtin/fetch.c::format_display() and it has two distinct
callchains. The one that reports the primary result of fetch originates
at store_updated_refs(); the other one that reports the pruning of
the remote-tracking refs originates at prune_refs().
Teach these two places to pass summary_width down the callchain,
just like we did for the "push" side in the previous commit.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.h')
0 files changed, 0 insertions, 0 deletions