Commits
- Commit:
f2dd780737c47f6d92e6fe01cbd51bf93c91b3b3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: avoid open/sync/close the fileindex over and over again
Instead of flushing the fileindex after every patch in the patchfile
just reuse the same fileindex and sync it only at the end of the patch
operation. This speeds up 'got patch' on large repositories by quite a
lot.
- Commit:
e45f7eba7c3fe929b6bd5852f390301aeace98aa
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
got patch: switch from fseek() to fseeko(), use unary minus while here
ok op
- Commit:
be33dff7fa389c620154dc06efbeae69bd002950
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: fail when reading empty hunks
- Commit:
6d9c73d72e43db5dfe560cade0a61eed638b45d0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
1dc7dca25f4bd1f501d925a5397236745c8c79f4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.70
- Commit:
e93fb944fe7b32d96fafd4726043a28062563b54
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
map delta cache file into memory if possible while writing a pack file
with a fix from + ok op@
- Commit:
dc3fe1bf10950c200037f0198f2445ea176f8cc3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix load_object_ids() such that packing tags works if zero commits are packed
reported by jrick and op
- Commit:
cab5dc8bbeefffc8a4319ec0788b472e1084a564
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
hook cmdline send tests up for 'make regress', this was forgotten
- Commit:
fae7e03842e8618973f4d4910a86a52d881ab2ab
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
run the search for deltas to reuse in got-read-pack
This significantly speeds up the deltification step of packing by
avoiding imsg traffic. gotadmin no longer requests individual raw
deltas from got-read-pack to check whether it can reuse them.
Instead, got-read-pack obtains a list of objects we want to pack,
and hands back the list of all deltas in its pack file which can be
reused. Messages are now batched such that imsg buffers are filled
as much as possible.
Another advantage is that deltas we are not going to reuse will
no longer be written to the delta cache file, saving disk space.
Before this patch, any raw delta candidate was written to the
delta cache file by got-read-pack, and the decision whether to
reuse the delta happened afterwards in the gotadmin process.
Code for reading individual raw deltas is now unused and could be
removed at some point.
ok op@
- Commit:
2f8438b006e9015401b93f55cea57b36b021ce56
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid 'remove unused' loop by storing excluded objects in a separate set
ok op@
- Commit:
f5e78e05ae4eb8c5e5909841ee696fa5b6d0dfea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid loop over the ID set which removes objects IDs with reused deltas
ok op@
- Commit:
2d9e6abf243a0a1895786fa9002b28d69a0f6fea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
store deltas in compressed form while packing, both in memory and cache file
This reduces memory and disk space consumption during packing.
with tweaks + memleak on error fix from op@
ok op@
- Commit:
6b7665acf3ac9dd7d0c30372df5a4fa09b1b47fa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
s/empty/done forgot in previous commit
- Commit:
d75b95736e173f91a380719d1d974cf326335c06
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-read-patch: rename `ok' variable and simplify the parsing a bit
- Commit:
f90b7a8ce92037f39d85e51dc6439e1aee606a5a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
trailing whitespaces
- Commit:
4379a9aae9e70b9b2beaa7c7b31c4033b302069b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: handle git-style rename diffs
extend the support for git-style diffs to include the "pure rename"
case, i.e. when a file is renamed without any edits.
ok stsp@
- Commit:
611e8e319eae000b4d691f6c188af95e4de294a7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid subtraction of values larger than int in qsort(3) comparison callbacks
tweak + ok tb@
- Commit:
a8acad7d8eeb9aca78302e45eba5eb2211e6f291
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
45b17929f6fd207daee7d2fb2c7b6a1918c35a66
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.69
- Commit:
45ca46332f0cc34f6414a5e6646f178121043165
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
add -q to "gotadmin pack" usage
- Commit:
bad961bf76d36ad6f3472c7ad80f648091f56019
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: allow to reverse a patch
add a flag to got_patch to reverse a patch before applying and the -R
flag for `got patch'.
ok stsp@
- Commit:
b28327780dc2e32f03051c7d18d57db2e27e2de6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-read-patch: preserve all \ lines
as a cheap optimization got-read-patch was sending only the "\ No
newline at end of file" lines that follows an addition (a "+" line). To
be able to reverse patches in the future got_patch needs to know about
all of these lines instead. No functional changes intended.
ok stsp@
- Commit:
15e1bda6b8ce20b9acfeeefabf9d3aee2589d0d4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
test `got patch' vs path-prefixes, relative paths and strip
reminded by and 'looks fine' to stsp@
- Commit:
f1d6cebb430d7e76b19eca4fede3ca1d4daa412e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typos
- Commit:
8618727816209ecdebf5df08c8d51556922f5398
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mention -p in usage_patch