Commits
- Commit:
02828bfdd5b1fe79298e576b2c28d252509fa089
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
expose got_packidx_get_object_offset() for library-internal use
This will be needed by a future 'gotadmin listpack' command.
- Commit:
40e3cb72953003915373ea79578a46eb01238c15
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix raw object size sent by got-read-pack
- Commit:
1c4cdd89292391629861b9a13688e94879efe2ea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix bogus 'permission denied' error when a file at work tree root is removed
ok naddy
- Commit:
b4f3757062b79ae08d3c386051bbf6c37902ec35
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
mark got_pack_stop_privsep_child() static; it is only used inside pack.c
- Commit:
cc2a8ef4d11a18e731acc4e3af92748ead29505b
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
fix a leaky ibuf. ok stsp
- Commit:
779e1159b25b2aa115e6b42f51003b7e2fa7c06b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
expose the reflist_insert() helper function as got_reflist_insert()
This will be needed by 'gotadmin pack'.
- 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