]> git.ipfire.org Git - thirdparty/git.git/commit - transport.c
transport: compute summary-width dynamically
authorJunio C Hamano <gitster@pobox.com>
Sat, 22 Oct 2016 04:33:06 +0000 (21:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 22 Oct 2016 16:37:29 +0000 (09:37 -0700)
commitdb98d9bafa7081aa95c15c278e39b5dfa5af8e48
tree11e77d59b76a76863f80a0bab970a7ac62a3051c
parent11fd66de9bceac5ffb70ad3ad225203b95d19aa2
transport: compute summary-width dynamically

Now all that is left to do is to actually iterate over the refs
and measure the display width needed to show their abbreviation.

Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c