for-each-ref: rename 'refinfo' to 'ref_array_item'
commit58792320903eb58ac88cb97c280a759f89c3b8fa
authorKarthik Nayak <karthik.188@gmail.com>
Sat, 13 Jun 2015 19:37:21 +0000 (14 01:07 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jun 2015 18:48:08 +0000 (15 11:48 -0700)
tree1678c007fd5f47437ae1bf1dbd2fc400f3327e76
parentfc80edcae1cdaac42b2e09c64df2e5cd06e3a336
for-each-ref: rename 'refinfo' to 'ref_array_item'

Rename 'refinfo' to 'ref_array_item' as a preparatory step for
introduction of new structures in the forthcoming patch.

Re-order the fields in 'ref_array_item' so that refname can be
eventually converted to a FLEX_ARRAY.

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>
Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/for-each-ref.c