Commit a52bac9
reftable/stack: inline
The only difference between `stack_compact_range_stats()` and
`stack_compact_range()` is that the former updates stats on failure,
whereas the latter doesn't. There are no callers anymore that do not
want their stats updated though, making the indirection unnecessary.
Inline the stat updates into `stack_compact_range()`.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>stack_compact_range_stats()
1 parent afdafad commit a52bac9
1 file changed
+4
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1328 | 1328 | | |
1329 | 1329 | | |
1330 | 1330 | | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
1334 | | - | |
1335 | | - | |
1336 | | - | |
1337 | | - | |
1338 | | - | |
1339 | | - | |
1340 | 1331 | | |
1341 | 1332 | | |
| 1333 | + | |
1342 | 1334 | | |
1343 | 1335 | | |
1344 | 1336 | | |
1345 | 1337 | | |
1346 | 1338 | | |
1347 | 1339 | | |
1348 | 1340 | | |
1349 | | - | |
| 1341 | + | |
1350 | 1342 | | |
1351 | 1343 | | |
1352 | 1344 | | |
| |||
1452 | 1444 | | |
1453 | 1445 | | |
1454 | 1446 | | |
1455 | | - | |
1456 | | - | |
| 1447 | + | |
| 1448 | + | |
1457 | 1449 | | |
1458 | 1450 | | |
1459 | 1451 | | |
| |||
0 commit comments