summaryrefslogtreecommitdiff
path: root/levenshtein.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-10-21 15:28:07 -0700
committerJunio C Hamano <gitster@pobox.com>2016-10-21 15:28:07 -0700
commit11fd66de9bceac5ffb70ad3ad225203b95d19aa2 (patch)
treec63314bc1bd51798bddde160e4ce52f95d698092 /levenshtein.c
parent901f3d403ef2416fb287399f8ed9c5dc5fb632f9 (diff)
downloadgit-11fd66de9bceac5ffb70ad3ad225203b95d19aa2.tar.gz
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 'levenshtein.c')
0 files changed, 0 insertions, 0 deletions