commit | 63d89fbce11c358ab73bdbb0d36919a454b2f5a6 | [log] [tgz] |
---|---|---|
author | Karthik Nayak <karthik.188@gmail.com> | Thu Sep 10 21:18:20 2015 +0530 |
committer | Junio C Hamano <gitster@pobox.com> | Thu Sep 17 10:02:48 2015 -0700 |
tree | d1d122731252847b42cfee0d60a4bd01ff07e0f0 | |
parent | 110dcda50d5ddaf3557666eea3b012a6ccc74dce [diff] |
ref-filter: introduce handler function for each atom Introduce a handler function for each atom, which is called when the atom is processed in show_ref_array_item(). In this context make append_atom() as the default handler function and extract quote_formatting() out of append_atom(). Bump this to the top. 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>