ref-filter: introduce align_atom_parser()
commit5bd881d998d6475b8a866af00b1a4d4e6b04c2cc
authorKarthik Nayak <karthik.188@gmail.com>
Wed, 17 Feb 2016 18:06:15 +0000 (17 23:36 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Feb 2016 22:06:45 +0000 (17 14:06 -0800)
tree385c93a20b369418da181ae02079ec2dc48ff396
parent25a8d79e00f7434676237dc11e8b661c41834650
ref-filter: introduce align_atom_parser()

Introduce align_atom_parser() which will parse an 'align' atom and
store the required alignment position and width in the 'used_atom'
structure for further usage in populate_value().

Since this patch removes the last usage of match_atom_name(), remove
the function from ref-filter.c.

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Helped-by: Jeff King <peff@peff.net>
Helped-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Karthik Nayak <Karthik.188@gmail.com>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ref-filter.c