mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-28 23:32:41 +00:00
38a7e7fd62
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. |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
build.rs | ||
Cargo.toml |