mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-15 16:53:25 +00:00
2172887876
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. |
||
---|---|---|
.. | ||
src | ||
tests | ||
testutils | ||
build.rs | ||
Cargo.toml |