jj/docs
Martin von Zweigbergk 1cc271441f gc: implement basic GC for Git backend
This adds an initial `jj util gc` command, which simply calls `git gc`
when using the Git backend. That should already be useful in
non-colocated repos because it's not obvious how to GC (repack) such
repos. In my own jj repo, it shrunk `.jj/repo/store/` from 2.4 GiB to
780 MiB, and `jj log --ignore-working-copy` was sped up from 157 ms to
86 ms.

I haven't added any tests because the functionality depends on having
`git` binary on the PATH, which we don't yet depend on anywhere
else. I think we'll still be able to test much of the future parts of
garbage collection without a `git` binary because the interesting
parts are about manipulating the Git repo before calling `git gc` on
it.
2023-12-03 07:40:12 -08:00
..
design
technical docs: update description of conflicts to be about tree-level conflicts 2023-11-30 14:24:48 -08:00
branches.md
code-of-conduct.md Replace contact method with addresses of active leads. 2023-11-28 13:48:22 -05:00
config.md
config.toml
conflicts.md
contributing.md
FAQ.md
git-comparison.md docs: add forgotten code tags 2023-11-14 14:48:44 -08:00
git-compatibility.md gc: implement basic GC for Git backend 2023-12-03 07:40:12 -08:00
github.md
glossary.md
index.md
install-and-setup.md install-and-setup.md: --strategy -> --strategies for cargo binstall 2023-11-21 20:19:38 -08:00
operation-log.md
related-work.md
revsets.md
sapling-comparison.md
templates.md
tutorial.md
working-copy.md