Commit a1b19aa
ref-filter: make internal reachable-filter API more precise
The internal reachable-filter API is a bit loose and imprecise; it
also bleeds unnecessarily into the public header. Tighten the API
by:
* renaming do_merge_filter() to reach_filter()
* separating parameters to explicitly identify what data is used
by the function instead of passing an entire ref_filter_cbdata
struct
* renaming and moving internal constants from header to source
file
Signed-off-by: Aaron Lipman <alipman88@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 21bf933 commit a1b19aa
2 files changed
+14
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2231 | 2231 | | |
2232 | 2232 | | |
2233 | 2233 | | |
2234 | | - | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
2235 | 2239 | | |
2236 | 2240 | | |
2237 | 2241 | | |
2238 | | - | |
2239 | 2242 | | |
2240 | | - | |
| 2243 | + | |
2241 | 2244 | | |
2242 | | - | |
2243 | | - | |
2244 | | - | |
2245 | | - | |
2246 | | - | |
| 2245 | + | |
2247 | 2246 | | |
2248 | 2247 | | |
2249 | 2248 | | |
| |||
2254 | 2253 | | |
2255 | 2254 | | |
2256 | 2255 | | |
2257 | | - | |
2258 | | - | |
| 2256 | + | |
| 2257 | + | |
2259 | 2258 | | |
2260 | 2259 | | |
2261 | 2260 | | |
| |||
2273 | 2272 | | |
2274 | 2273 | | |
2275 | 2274 | | |
2276 | | - | |
| 2275 | + | |
2277 | 2276 | | |
2278 | 2277 | | |
2279 | 2278 | | |
2280 | 2279 | | |
2281 | 2280 | | |
2282 | 2281 | | |
2283 | 2282 | | |
2284 | | - | |
2285 | | - | |
| 2283 | + | |
| 2284 | + | |
2286 | 2285 | | |
2287 | 2286 | | |
2288 | 2287 | | |
| |||
2337 | 2336 | | |
2338 | 2337 | | |
2339 | 2338 | | |
2340 | | - | |
2341 | | - | |
| 2339 | + | |
| 2340 | + | |
2342 | 2341 | | |
2343 | 2342 | | |
2344 | 2343 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
| |||
0 commit comments