From: Karthik Nayak Date: Tue, 10 Jan 2017 08:49:45 +0000 (+0530) Subject: ref-filter: make remote_ref_atom_parser() use refname_atom_parser_internal() X-Git-Tag: v2.13.0-rc0~174^2~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3ba308cb4b4ad0d06fa834a42a9380c877b0c16a?hp=3ba308cb4b4ad0d06fa834a42a9380c877b0c16a ref-filter: make remote_ref_atom_parser() use refname_atom_parser_internal() Use the recently introduced refname_atom_parser_internal() within remote_ref_atom_parser(), this provides a common base for all the ref printing atoms, allowing %(upstream) and %(push) to also use the ':strip' option. The atoms '%(push)' and '%(upstream)' will retain the ':track' and ':trackshort' atom modifiers to themselves as they have no meaning in context to the '%(refname)' and '%(symref)' atoms. Update the documentation and tests to reflect the same. Signed-off-by: Karthik Nayak Signed-off-by: Junio C Hamano ---