Commit 29ef53c
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>1 parent aa8a5d1 commit 29ef53c
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2114 | 2114 | | |
2115 | 2115 | | |
2116 | 2116 | | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
2117 | 2123 | | |
2118 | 2124 | | |
2119 | 2125 | | |
| |||
2122 | 2128 | | |
2123 | 2129 | | |
2124 | 2130 | | |
2125 | | - | |
| 2131 | + | |
2126 | 2132 | | |
2127 | 2133 | | |
2128 | 2134 | | |
2129 | 2135 | | |
2130 | 2136 | | |
2131 | 2137 | | |
2132 | | - | |
2133 | 2138 | | |
2134 | 2139 | | |
2135 | 2140 | | |
| |||
2142 | 2147 | | |
2143 | 2148 | | |
2144 | 2149 | | |
2145 | | - | |
2146 | | - | |
| 2150 | + | |
2147 | 2151 | | |
2148 | 2152 | | |
2149 | 2153 | | |
| |||
0 commit comments