summaryrefslogtreecommitdiff
path: root/quote.c
diff options
context:
space:
mode:
authorLibravatar Karthik Nayak <karthik.188@gmail.com>2015-09-23 23:41:06 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-09-23 11:41:01 -0700
commit1051e40dba16bd8e490c41ce926c8c36b913de72 (patch)
tree6dbf0b12a521ca49c80fe9676b105ecb96605c08 /quote.c
parenttag.c: implement '--merged' and '--no-merged' options (diff)
downloadtgif-1051e40dba16bd8e490c41ce926c8c36b913de72.tar.xz
branch: refactor width computation
Remove unnecessary variables from ref_list and ref_item which were used for width computation. This is to make ref_item similar to ref-filter's ref_array_item. This will ensure a smooth port of branch.c to use ref-filter APIs in further patches. Previously the maxwidth was computed when inserting the refs into the ref_list. Now, we obtain the entire ref_list and then compute maxwidth. Based-on-patch-by: Jeff King <peff@peff.net> Mentored-by: Christian Couder <christian.couder@gmail.com> Mentored-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr> Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'quote.c')
0 files changed, 0 insertions, 0 deletions