Commit 6f81818
pack-objects: add damage-control stdin packs mode
Add a storm-oriented stdin-packs mode that skips best-effort namehash traversal and pack-order reverse-index enumeration when callers only need a valid low-latency roll-up. This keeps damage-control repacks write-bound while preserving the normal stdin-packs behavior for quality repacks.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 6f7ced8 commit 6f81818
2 files changed
Lines changed: 41 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
293 | 294 | | |
294 | 295 | | |
295 | 296 | | |
| |||
3907 | 3908 | | |
3908 | 3909 | | |
3909 | 3910 | | |
3910 | | - | |
| 3911 | + | |
| 3912 | + | |
3911 | 3913 | | |
3912 | 3914 | | |
3913 | 3915 | | |
| |||
3948 | 3950 | | |
3949 | 3951 | | |
3950 | 3952 | | |
3951 | | - | |
| 3953 | + | |
| 3954 | + | |
3952 | 3955 | | |
3953 | 3956 | | |
3954 | 3957 | | |
| |||
4035 | 4038 | | |
4036 | 4039 | | |
4037 | 4040 | | |
4038 | | - | |
| 4041 | + | |
4039 | 4042 | | |
4040 | 4043 | | |
4041 | 4044 | | |
| |||
4087 | 4090 | | |
4088 | 4091 | | |
4089 | 4092 | | |
4090 | | - | |
4091 | | - | |
4092 | | - | |
4093 | | - | |
4094 | | - | |
4095 | | - | |
| 4093 | + | |
| 4094 | + | |
| 4095 | + | |
| 4096 | + | |
| 4097 | + | |
| 4098 | + | |
| 4099 | + | |
| 4100 | + | |
4096 | 4101 | | |
4097 | 4102 | | |
4098 | 4103 | | |
| |||
4983 | 4988 | | |
4984 | 4989 | | |
4985 | 4990 | | |
| 4991 | + | |
| 4992 | + | |
4986 | 4993 | | |
4987 | 4994 | | |
4988 | 4995 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
63 | 88 | | |
64 | 89 | | |
65 | 90 | | |
| |||
0 commit comments