jj/lib
Martin von Zweigbergk 2172887876 git: don't detach head if the ref already points to the right place
The first time we export to Git, we don't actually export
anything. That's a little weird and I don't know why I did it that
way. It seems more natural to export the current state. I'd like to
change it to do that. However, that currently means we'll detach the
current HEAD if it points to any of the branches we export. This patch
restructures the code a bit and skips the detach step if the target
branch already points to the right commit.
2022-11-13 15:06:10 -08:00
..
src git: don't detach head if the ref already points to the right place 2022-11-13 15:06:10 -08:00
tests tests: test exporting to Git after deleting a branch 2022-11-13 15:06:10 -08:00
testutils tests: move testutils module into separate crate 2022-11-08 07:29:35 -08:00
build.rs cleanup: remove extern crate declarations 2022-09-21 22:24:09 -07:00
Cargo.toml simple_op_store: replace Protobuf by Thrift 2022-11-13 11:39:33 -08:00