Thread (6 messages) flat view 6 messages, 4 authors, 2018-12-17

Re: pack file object size question

From: Farhan Khan <hidden>
Date: 2018-12-16 23:36:57

On Sun, Dec 16, 2018 at 5:15 PM Jonathan Nieder [off-list ref] wrote:
Hi,

Farhan Khan wrote:
quoted
I am trying to write an implementation of "git index-pack" and having
a bit of trouble with understanding the ".pack" format. Specifically,
I am having trouble figuring out the boundary between two objects in
the pack file.
Have you seen Documentation/technical/pack-format.txt?  If so, do you
have ideas for improving it?

Thanks,
Jonathan
Hi Jonathan,

Yes, I have. I think the issue is, the compressed object has a fixed
size and git inflates it, then moves on to the next object. I am
trying to figure out how where it identifies the size of the object.
--
Farhan Khan
PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help