ref-filter: make 'ref_array_item' use a FLEX_ARRAY for refname
authorKarthik Nayak <karthik.188@gmail.com>
Sat, 13 Jun 2015 19:37:29 +0000 (01:07 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Aug 2015 17:24:07 +0000 (10:24 -0700)
commit1958a6eb5498c8a5ac5ba908833cc862b28759f9
tree8094c961356cae5008535d5f11de6293aa93365f
parent14de7fba3462aa8051bc63260fc6407aa51b8f68
ref-filter: make 'ref_array_item' use a FLEX_ARRAY for refname

This would remove the need of using a pointer to store refname.

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>
ref-filter.c
ref-filter.h