summaryrefslogtreecommitdiff
path: root/builtin/checkout-index.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-07-01 18:03:30 +0200
committerJunio C Hamano <gitster@pobox.com>2016-07-06 11:48:25 -0700
commit6bc91f23a6e14d540ab6950b438d40cf678143f0 (patch)
treebc5df8e366a7eb76ab2683f9b4a3736bdb629f1e /builtin/checkout-index.c
parent2cb040baa6fcb8a6314a54933cbcb4d3fcb60401 (diff)
downloadgit-6bc91f23a6e14d540ab6950b438d40cf678143f0.tar.gz
fetch: align all "remote -> local" output
We do align "remote -> local" output by allocating 10 columns to "remote". That produces aligned output only for short refs. An extra pass is performed to find the longest remote ref name (that does not produce a line longer than terminal width) to produce better aligned output. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/checkout-index.c')
0 files changed, 0 insertions, 0 deletions