diff options
author | Karthik Nayak <karthik.188@gmail.com> | 2017-01-10 14:19:35 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-10 12:44:30 -0800 |
commit | c58fc85692d759cb33a59e138a94931044a08284 (patch) | |
tree | 0cb2db8ed47b7ca46141d361698bd168c95f7787 /compat/bswap.h | |
parent | ref-filter: implement %(if), %(then), and %(else) atoms (diff) | |
download | tgif-c58fc85692d759cb33a59e138a94931044a08284.tar.xz |
ref-filter: include reference to 'used_atom' within 'atom_value'
Ensure that each 'atom_value' has a reference to its corresponding
'used_atom'. This lets us use values within 'used_atom' in the
'handler' function.
Hence we can get the %(align) atom's parameters directly from the
'used_atom' therefore removing the necessity of passing %(align) atom's
parameters to 'atom_value'.
This also acts as a preparatory patch for the upcoming patch where we
introduce %(if:equals=) and %(if:notequals=).
Signed-off-by: Karthik Nayak <Karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/bswap.h')
0 files changed, 0 insertions, 0 deletions