summaryrefslogtreecommitdiff
path: root/compat/regex/regex_internal.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-10-21 14:39:41 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-21 14:39:41 -0700
commit7101e10ce7ba917d1b7a6ff73e0008c2be4a43ed (patch)
treee4b432e15344a8c20fa7bc4c778f1615950165ee /compat/regex/regex_internal.c
parentfind_unique_abbrev: move logic out of get_short_sha1() (diff)
downloadtgif-7101e10ce7ba917d1b7a6ff73e0008c2be4a43ed.tar.xz
transport: pass summary_width down the callchain
The callchain that originates at transport_print_push_status() eventually hits a single leaf function, print_ref_status(), that is used to show from what old object to what new object a ref got updated, and the width of the part that shows old and new object names used a constant TRANSPORT_SUMMARY_WIDTH. Teach the callchain to pass the width down from the top instead. This allows a future enhancement to compute the necessary display width before calling down this callchain. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/regex/regex_internal.c')
0 files changed, 0 insertions, 0 deletions