Commits
- Commit:
e44d939152693c16e95d2855b539ad6b30e81b15
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
revert object enumeration in got-read-pack for now; needs more work
This implementation marked commits and trees as enumerated before all trees
which they depend on were enumerated. This behaviour leads to incomplete
pack files when a tree is only partially packed and got-read-pack hits
a missing tree entry as a result. The algorithm must be reworked such
that packed leave nodes are marked enumerated first, then bubble-up.
Found by op@
- Commit:
0e90588fc653d9ef0965c9420e8c39f615393b0d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in enumeration_request(), use the correct index for tagged commit objects
Fixes an error where got-read-pack errors out with "bad object data"
during 'got send' because we ended up handing a tag object to the
commit object parser.
- Commit:
9f4f302a43f7e186910d59f9dbe0f839b6f2d565
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
free id and path in load_packed_tree_ids() on error, else they would leak
pointed out by op@
- Commit:
f09728336c4d35bfa49210e640b1ceb8989fe3d5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong line wrap; pointed out by op@
- Commit:
876f8c1a29bce31fa6d99470a60be90c724ec4b6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
imsg_add() already frees wbuf on error; pointed out by op@
- Commit:
cee6a7ea556f9f3ae0f50df959c2acd8cb59bf80
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement object enumeration support in got-read-pack
ok op@
- Commit:
9fdde394b8229cc24073709050d2ef7a1443b0a9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got stage: implicitly unstage when staging the reverse of the staged diff
otherwise we end up with a staged empty edit for that file.
ok stsp@
- Commit:
4264b841d71d67329a7bf291a2f6565fac246668
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check the maximum cached delta size against the correct constant
- Commit:
dac5c75ed0c009997c4b71cb83bfaebbfaff22f1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert delta cache to a hash table
This approach uses more memory but is much faster. To offset the
additional memory usage somewhat the cache now stores very small
deltas only. However, overall memory usage goes up. Hopefully we
will find a way to reduce this later.
ok op@
- Commit:
842467521f94def2d4cce96b3c39f8bbad73bd0b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
set `ret' in a few places where it was forgotten; ok tracey@
- Commit:
a19f439c4e07de5c812f1771b37cecbba6e631c4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't pass $ret to test_done on failure when it's known to be zero
Otherwise the test directory it's not left in place; ok tracey@
- Commit:
6a881297759a4b3c4f62093aef5fdbaad0dae8df
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
properly swap cached struct pack array elements in got_repo_cache_pack()
Avoids clobbering open files for delta base/accumulation, leaking file
descriptors, and triggering errors from close(2) during got_repo_close()
as we try to close the same file descriptor more than once.
- Commit:
b72706c3d172544098fcd24fd639374694a8fce9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move creation of tempfiles outside of lib/diff.c
ok tracey
- Commit:
2497f032fa6bc06264d8990fdd57a9ffbaf1429b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tog: override SIGTERM and SIGINT handlers to avoid ncurses cleanup() handler
ok thomas
- Commit:
cfcf1cbc17e0ba04db86f31e48233e0ef2e9fd6d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reduce GOT_PACK_CACHE_SIZE to 32, otherwise it uses too many open files
found by tracey