summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-10-21 15:28:07 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-21 15:28:07 -0700
commit11fd66de9bceac5ffb70ad3ad225203b95d19aa2 (patch)
treec63314bc1bd51798bddde160e4ce52f95d698092 /t/test-lib.sh
parentfetch: pass summary_width down the callchain (diff)
downloadtgif-11fd66de9bceac5ffb70ad3ad225203b95d19aa2.tar.xz
transport: allow summary-width to be computed dynamically
Now we have identified three callchains that have a set of refs that they want to show their <old, new> object names in an aligned output, we can replace their reference to the constant TRANSPORT_SUMMARY_WIDTH with a helper function call to transport_summary_width() that takes the set of ref as a parameter. This step does not yet iterate over the refs and compute, which is left as an exercise to the readers. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib.sh')
0 files changed, 0 insertions, 0 deletions