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 git: on push, update jj's view of remote branches without using import_refs() 2023-10-17 15:06:03 +09:00
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 git: add config to disable abandoning of unreachable commits 2023-11-05 06:10:54 -08:00
config.toml docs/config.toml: update the default diff editor 2023-10-25 13:05:04 -07:00
conflicts.md
contributing.md poetry: Poetry 1.7 issues 2023-11-06 17:10:27 -08:00
FAQ.md FAQ: Add an entry on how Jujutsu saves changes in the working-copy. 2023-11-02 20:29:06 +01:00
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 docs: fix broken Markdown in github.md, plus various cleanups 2023-10-24 21:31:51 -07:00
glossary.md glossary.md: Add a stub for "Hidden commits, Abandoned commits" 2023-10-31 23:41:41 -07:00
index.md docs index.md: explain that the website sidebar may be hidden 2023-10-04 05:25:37 -07:00
install-and-setup.md install-and-setup.md: --strategy -> --strategies for cargo binstall 2023-11-21 20:19:38 -08:00
operation-log.md docs: fix typo in operation-log.md 2023-08-13 05:08:45 +00:00
related-work.md
revsets.md revset: exclude @git branches from remote_branches() 2023-11-08 07:34:30 +09:00
sapling-comparison.md mkdocs: make MkDocs work with more GitHub-like list formatting 2023-11-03 19:15:37 -07:00
templates.md templater: add local/remote_branches keywords 2023-10-28 11:03:23 +09:00
tutorial.md tutorial.md: no need to mention heads(x) anymore 2023-10-23 12:01:17 +02:00
working-copy.md