summaryrefslogtreecommitdiff
path: root/builtin/clean.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-07-13 11:02:58 -0400
committerJunio C Hamano <gitster@pobox.com>2017-07-13 12:42:51 -0700
commit29ef53cd361e8751f9f2f40811af0ce863e449b6 (patch)
treef643af96af8483c0a6cc76f314e04c22334b078c /builtin/clean.c
parentaa8a5d144da4e4ec43580831ff4a741538d21db4 (diff)
downloadgit-29ef53cd361e8751f9f2f40811af0ce863e449b6.tar.gz
ref-filter: factor out the parsing of sorting atoms
We parse sort strings as single formatting atoms, and just build on parse_ref_filter_atom(). Let's pull this idea into its own function, since it's about to get a little more complex. As a bonus, we can give the function a slightly more natural interface, since our single atoms are in their own strings. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/clean.c')
0 files changed, 0 insertions, 0 deletions