Commits
- Commit:
3ef807eedd4fec23cf457ea7cd55bc01407d57b9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reword description of how got log -p and -P interact with got log -S
- Commit:
a558dd1be5714d8e7a83f7d63180550e86ccae5c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reuse a temporary file across commits during got log -p -S
suggested by + ok op@
- Commit:
ee0fb1ff2261d82ca1d25edbb6db0359b589779d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make it possible to match committed patches with got log -p -S pattern
ok op@
- Commit:
caea18c125f0af78695c65c39df455945a769e34
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a missing .Pp to got.1
- Commit:
90e25b1fb888319a60c666995286e204ed5fe0ae
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak in show_change(), line was leaked
- Commit:
c1c775ebf431921ec88711e07b197edd07e05bb5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add one-line output mode to got log with -s flag
-s for short. Moves log search to -S.
Patch by Evan Silberman
- 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
- Commit:
13242195c28da5b721878751b7cb7beb3fa0e264
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ensure that all open basefd/accumfd get closed in got_repo_close()
found by tracey
- Commit:
571608344a37fb96f46850a1124415ab68b1a431
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
open temporary files needed for delta application in got_repo_open()
This prepares for callers of got_repo_open() that cannot afford to
open files in /tmp, such as gotwebd. In a follow-up change, we could
ask such callers to pass in the required amount of open temporary files.
One consequence is that got_repo_open() now requires the "cpath" pledge
promise. Add the "cpath" promise to affected callers and remove it once
the repository has been opened.
ok tracey
- Commit:
f18c433aae68e5537cf67eae05c0343e970307ad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid get_delta_chain_max_size() in dump_delta_chain_to_mem()
- Commit:
6395114c60289f3ac0f28c0fc4b5dfcef8690cdf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid get_delta_chain_max_size() in dump_delta_chain_to_file()