mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-31 16:40:22 +00:00
416a36a59c
If you remove all refs from the backing Git repo and then run `jj git import`, we would see that all commits disappeared from the Git repo, so we would remove them from the jj repo too. However, we do that by doing a history walk from old heads to the new heads, which includes the root commit when the new heads is an empty set. That means that we mark the root commit as abandoned, which led to a crash in `rewrite.rs` (when we try pick the root commit's first parent to use as parent for rebased commits). |
||
---|---|---|
.. | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |