ref-filter: introduce parsing functions for each valid atom
authorKarthik Nayak <redacted>
Wed, 17 Feb 2016 18:06:12 +0000 (23:36 +0530)
committerJunio C Hamano <redacted>
Wed, 17 Feb 2016 22:06:45 +0000 (14:06 -0800)
commit4de707ea4f61f9df7d2a76303df00caa5ec0899d
tree482b98e75e6056d1bf4ac0d5762ba3842af27533
parentb072add7fbcef19bd49d70fe9adad05b2374295e
ref-filter: introduce parsing functions for each valid atom

Parsing atoms is done in populate_value(), this is repetitive and
hence expensive. Introduce a parsing function which would let us parse
atoms beforehand and store the required details into the 'used_atom'
structure for further usage.

Helped-by: Eric Sunshine <redacted>
Helped-by: Ramsay Jones <redacted>
Helped-by: Andreas Schwab <redacted>
Signed-off-by: Karthik Nayak <redacted>
Reviewed-by: Eric Sunshine <redacted>
Signed-off-by: Junio C Hamano <redacted>
ref-filter.c
git clone https://git.99rst.org/PROJECT