mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-27 06:27:43 +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. |
||
---|---|---|
.. | ||
test_bad_locking.rs | ||
test_commit_builder.rs | ||
test_commit_concurrent.rs | ||
test_conflicts.rs | ||
test_default_revset_graph_iterator.rs | ||
test_diff_summary.rs | ||
test_git.rs | ||
test_id_prefix.rs | ||
test_index.rs | ||
test_init.rs | ||
test_load_repo.rs | ||
test_merge_trees.rs | ||
test_mut_repo.rs | ||
test_operations.rs | ||
test_refs.rs | ||
test_revset.rs | ||
test_rewrite.rs | ||
test_view.rs | ||
test_working_copy.rs | ||
test_working_copy_concurrent.rs | ||
test_working_copy_sparse.rs | ||
test_workspace.rs |