summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLibravatar Karthik Nayak <karthik.188@gmail.com>2017-01-10 14:19:36 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-10 12:44:31 -0800
commit4f3e3b37fae818e0e370d14fd56479d3a7d68b6e (patch)
treeaebe8b78b2321e0fdc1cb5e1358b692e6d0ac693 /configure.ac
parentref-filter: include reference to 'used_atom' within 'atom_value' (diff)
downloadtgif-4f3e3b37fae818e0e370d14fd56479d3a7d68b6e.tar.xz
ref-filter: implement %(if:equals=<string>) and %(if:notequals=<string>)
Implement %(if:equals=<string>) wherein the if condition is only satisfied if the value obtained between the %(if:...) and %(then) atom is the same as the given '<string>'. Similarly, implement (if:notequals=<string>) wherein the if condition is only satisfied if the value obtained between the %(if:...) and %(then) atom is different from the given '<string>'. This is done by introducing 'if_atom_parser()' which parses the given %(if) atom and then stores the data in used_atom which is later passed on to the used_atom of the %(then) atom, so that it can do the required comparisons. Add tests and documentation for the same. 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 'configure.ac')
0 files changed, 0 insertions, 0 deletions