Commits
- Commit:
0af64e86449b8d836b04b25ece0bbc5543a75238
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak in an error path of got_deltify()
- Commit:
dd29967c8be9311a99ae3310d49789c65989498e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got_deltify() rellocate the deltas array less often
- Commit:
9a8dc2b3ec216fd01b3c33137eb92d98ddadb63e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix deltas with trailing data that is smaller than the minimum chunk size
- Commit:
740bba1c3179a597c83f7dd3a23bffb50a494bdf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow the delta base file to lose its header between deltify_init and deltify
This simplifies pack file creation. A delta base could be read from a
loose object, a packfile, or it might be available in a temporary file.
All these cases can now be handled the same way. We may need to open,
close, and re-open a given delta base multiple times while packing.
- Commit:
7550e799ee994b0b74689a6895f84d8aaec86f49
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for errors from emitdelta() in got_deltify()
- Commit:
aa51f4a4acac901a4f1bf4062664644ce95d3e8c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle fseek in got_deltify() instead of in stretchblk(); simplifies the code
- Commit:
f34b169e54fc4d4960f06b804cabe1aeec70e07d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Allow for skipping the base object header in got_deltify().
- Commit:
0d15f6dcf929ae42606d3ca046621aee79e45890
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in addblk(), only read data into buffer1 if we will compare it to buffer2
suggested by and ok naddy@
- Commit:
68bdcdc2f5d3c37d918f85368c2537a8aa7d90eb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
addblk() may seek in its input file; reposition the file pointer afterwards
- Commit:
a893025fd207950945eed1482170223a2d3b9ce3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
addblk: iterate over the correct number of entries after growing the array
ok naddy
- Commit:
e89540a95a268f47ef2d1b24c41fbb72a1f0bdc9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
addblk: be more careful about expanding the blocks array when we outgrow it
fixes + ok naddy
- Commit:
51a494da48acb57ed84501a6d10f39ed624c711e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check a block's hash as well as its length before expensive comparisons
suggested by + ok naddy, and Ori agrees
- Commit:
dbbf4a5f0cfb712c5970dcb79a65c5dd2e62b19a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow got_deltify_free(NULL); will be needed by 'gotadmin pack'
- Commit:
22403ab7111504d4c33872ec85a46d2eaf21a95b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
deltify.c: explicitly include <endian.h> for be64toh()
- Commit:
69aa0e90839745f70c6fc7e33c78bbe949f3500d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
substantial rewrite of deltify.c; operate on plain files only
- Commit:
5788893e052e36c9c54c8ab6781ed97a5fca6f91
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix off-by-one error in delta length; from ori
git9 commit fbb2fb7c87d8edf58e22c84f575853dc9de79ac4
- Commit:
f364801d387c39c215e631fb221d30fbcd931ab8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
first pass over deltify.c: adapt coding style and data types; make it compile
- Commit:
2a0e67f7afc1daea58c6ee6104f8b11880b5999e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Ori has authorized a licence change to OpenBSD's license template
- Commit:
56e7a15f6ffdae9e6b9c6929aeecfa71db9b1a73
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add deltify.c, unmodified from git9, with license header added