Commit Briefs

b08fe7be6d Stefan Sperling

make tests print 'ok' if they pass


322260e178 Martin Pieuchot

Get rid of xmalloc.{c,h}.

malloc(3) & pread(3) errors will now be reported as GOT_ERR_NO_MEM. This does not improve the numbers of leaks in diffreg.c


ac25a29282 Stefan Sperling

add a skeleton for a delta test (empty)


96a1d71709 Stefan Sperling

document the delta stream data format



6691714a6b Stefan Sperling

prepare application of deltas


4ee4114f42 Stefan Sperling

rename helper function open_object() to fopen_object()


c7fe698a2b Stefan Sperling

add a helper function for opening a pack file



d33fc9efbb Stefan Sperling

treat tag objects as a plain type in open_packed_object()


a48db7e5b5 Stefan Sperling

add support for opening ref delta objects


6b9c967331 Stefan Sperling

resolve ref deltas as part of a delta chain


348f621c79 Stefan Sperling

s/decode_/parse_/


c3703302b1 Stefan Sperling

model delta chains in a better way



8622058b8e Stefan Sperling

Rename 'size' field in got_delta_base to 'delta_size'.


a3500804a1 Stefan Sperling

add a helper function to reduce size of a switch statement



cecc778e88 Stefan Sperling

compute off_delta offset correctly


68823f7f28 Stefan Sperling

add file I forgot to add


4e8cda5531 Stefan Sperling

We only support plain objects as delta base for now.


eef6493a8d Stefan Sperling

Make struct got_object opaque to users of the library


d22131b730 Stefan Sperling

fix build


b107e67fba Stefan Sperling

Implement open() support for offset delta objects


9710aac2fc Stefan Sperling

rename helper function