Thread (30 messages) 30 messages, 4 authors, 3h ago

Re: [PATCH 2/2] fetch-pack: accept "pack" output for packfile URIs

From: Ted Nyman <hidden>
Date: 2026-07-14 18:39:08

I also think this would all be much nicer with a strbuf (which would
let us get rid of the magic numbers), but that is a slightly larger
refactor:
Using a strbuf makes sense. One wrinkle, I think, is that with
transfer.fsckobjects enabled, index-pack can emit dangling .gitmodules
OIDs after the initial pack/keep line, which parse_gitmodules_oids()
still needs to read from cmd.out. Would strbuf_getwholeline_fd() be a
better fit here, so we don't consume those with strbuf_read()?

I'll also fix the --index-pack-args documentation while rerolling.

Thanks,
Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help