jj/lib
Ilya Grigoriev bb902b69b5 Revert "git_backend: stop writing tree ids to proto"
This reverts commit b8ca9ae and adds a comment.

In commit 4d42604 (a year ago), we started writing the trees involved in
conflicted commits to the Git commit object in addition to the proto
storage. We validated that the two record matched when reading commits
until as recently as f7b14be (about a week ago). Just after that, in
commit b8ca9ae, we stopped writing the tree ids to the proto storage.
That means that any version of jj between 4d42604 and f7b14be would
error fail when reading a conflicted commit created by new versions.
While we don't guarantee forward compatibility, it's easy to do so here,
so let's be friendly to older versions by rolling back b8ca9ae so we
continue to write the conflicted tree ids to both places for a while
more.

(Thanks to Martin for the detailed explanation!)

Fixes https://github.com/jj-vcs/jj/issues/6185
2025-03-31 23:19:21 +00:00
..
benches style: add semicolon at the end of expressions used as statements 2024-10-04 22:29:13 +02:00
gen-protos lib: rename the LocalBackend to SimpleBackend 2025-03-17 17:17:11 +00:00
proc-macros cleanup: enable unused_trait_names clippy lint and run clippy --fix 2025-03-16 00:35:56 +00:00
src Revert "git_backend: stop writing tree ids to proto" 2025-03-31 23:19:21 +00:00
tests view: rename workspace "id" to "name" 2025-03-31 03:39:29 +00:00
testutils ci: make sure tests fail in CI if gpg or taplo binaries are not found 2025-03-18 02:18:08 +00:00
Cargo.toml time_util: replace use of chrono-english by interim 2025-03-24 23:59:21 +00:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00