ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Yuya Nishihara 38a7e7fd62 git_backend: on read_commit(), bulk-update extra metadata table of ancestors
Otherwise, "jj init --git-repo ." would create extra table files per commit,
and merge them.

I considered adding an explicit GitBackend method to be called from
git::import_refs(), but the call order matters. The method should be invoked
before calling store.get_commit(..) or mut_repo.add_head(..). Since commits
are likely to be loaded from the head, we can instead make read_commit()
import ancestor metadata at all.

Alternatively, we could make a Git commit hidden until it's inserted into
the extra table. It's rather big change, and I wouldn't like to do that
without thinking more thoroughly.
2023-05-21 08:29:00 +09:00
..
benches
gen-protos
src git_backend: on read_commit(), bulk-update extra metadata table of ancestors 2023-05-21 08:29:00 +09:00
tests git_backend: on read_commit(), bulk-update extra metadata table of ancestors 2023-05-21 08:29:00 +09:00
testutils cargo: bump git2 from 0.17.0 to 0.17.1 2023-04-17 09:19:58 -07:00
build.rs
Cargo.toml lib: use advisory locks on Unix targets 2023-05-07 09:52:09 -07:00