aboutsummaryrefslogtreecommitdiff
path: root/branch.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-10-21 14:39:41 -0700
committerJunio C Hamano <gitster@pobox.com>2016-10-21 14:39:41 -0700
commit7101e10ce7ba917d1b7a6ff73e0008c2be4a43ed (patch)
treee4b432e15344a8c20fa7bc4c778f1615950165ee /branch.h
parent8e3f52d77854a19cb3fd2adee40be84c8a8bdacc (diff)
downloadgit-7101e10ce7ba917d1b7a6ff73e0008c2be4a43ed.tar.gz
git-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 'branch.h')
0 files changed, 0 insertions, 0 deletions