Commits
- 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:
a85917112992dbff7d0827f6cf65c6b5a3fb7bd2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
raw object size should not include the length of the object's header
This way, the size of a raw object is the same regardless of whether
the object was found in a loose object file or in a pack file.
- Commit:
9ca9aafb026269aef00e469133fb7d1e3c224952
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
introduce got_object_id_queue_copy()
This will be required by a future 'gotadmin pack' command.
- Commit:
74a2356f3bd54be374a23546704e7ec7c876a247
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a user data pointer to struct got_object_qid
This will be required by a future 'gotadmin pack' command.
- Commit:
f34b169e54fc4d4960f06b804cabe1aeec70e07d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Allow for skipping the base object header in got_deltify().
- Commit:
26abd4a4dbcaa5d4993aa122348011c32cee77b6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
typo
- Commit:
296304f3026bc0c9cd1969929e3df3b4aebcc2cf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document how profiling works
- Commit:
7a6dddaefd504a582aa1d600185cdd18cb338e4a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make it possible to profile gotweb; tracey had the same diff
- Commit:
245c7240766e65f25db986d5d28da9a9b92826e6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
unveil gmon.out if gotweb is being profiled
ok tracey
- Commit:
9ec58fff16b1c2fc1d33d9955b42cadaa9e26f29
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use socketpair(2) instead of pipe(2) for bi-directional communication
On Linux, pipes returned from pipe(2) only work in one direction.
This broke 'got clone' over ssh in the -portable version because
got-fetch-pack assumes it can use its fetchfd for both reading and writing.
I wrote a complicated diff to use two pipe(2) calls instead of one, but
millert suggested a simpler solution: Use socketpair(2) instead of pipe(2).
ok millert jrick tracey
- Commit:
8e09a16893e9f1d76a82e99d79fbceaabb6f4bd0
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
fix hang in commit regress test. ok stsp
- Commit:
fdf3c2d3876d076bf098461a4d147227126588b4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use Patience diff for merging during cherrypick/backout/histedit/rebase
This has been shown to prevent mis-merges in some cases. It's probably
not a final solution. We should look at what Git's "recursive merge"
is doing and implement something similar.
Keep using Myers during update/unstage. The advantage of Myers is that
it produces smaller conflict chunks, and there are no known cases of
mis-merges which affect update/unstage.
- Commit:
1d0f405485b02cc4480ea188879e4122e0ea32bd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for close(2) error in got_repo_close() and propagate errors up
ok tracey
- Commit:
991ff1aa4f423a1faea1bae0e85a913a88038309
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
close all opened repo->gitdir_fd's and set open_repo static. ok naddy (with static change)
- 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:
282f42e5d1095015379b49280429e558b3bbc4fe
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove stray debug print which was accidentally committed
- Commit:
0c9eeee21134b27edd7528f489391f9ded46ffb1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid uninitialized error being returned from got_repo_get_packfile_info()
- Commit:
3b9e6fcfb6688f928cfe62fee08d34d6c8d85992
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
simplify deflate checksumming code; fixes errors with upcoming 'gotadmin pack'
tweak + ok naddy