ref-filter: use string_list_split over strbuf_split
commit132676478c808b5468cc47daccf5324055a81229
authorJeff King <peff@peff.net>
Wed, 17 Feb 2016 18:06:09 +0000 (17 23:36 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Feb 2016 22:06:45 +0000 (17 14:06 -0800)
tree71086982281af0ca3c2f3014bdd9edc1ddc1eacf
parent0571979bd60837d3c0802ecc1a47c48b4a6114d0
ref-filter: use string_list_split over strbuf_split

We don't do any post-processing on the resulting strbufs, so it is
simpler to just use string_list_split, which takes care of removing
the delimiter for us.

Signed-off-by: Jeff King <peff@peff.net>
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