]> git.ipfire.org Git - thirdparty/git.git/commit
ref-filter: introduce remote_ref_atom_parser()
authorKarthik Nayak <karthik.188@gmail.com>
Wed, 17 Feb 2016 18:06:17 +0000 (23:36 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Feb 2016 22:06:45 +0000 (14:06 -0800)
commit5339bdad96ace2fa76bf5d80b8596ad84b037aed
tree8ba4c2be83ca425eb9b66d8c77b3ed05b349b135
parent395fb8f9f4e13f0ca30b93c7b419c22a4625e5c4
ref-filter: introduce remote_ref_atom_parser()

Introduce remote_ref_atom_parser() which will parse the '%(upstream)'
and '%(push)' atoms and store information into the 'used_atom'
structure based on the modifiers used along with the corresponding
atom.

Helped-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Karthik Nayak <Karthik.188@gmail.com>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ref-filter.c