ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Martin von Zweigbergk 57ba9a9409 git: when importing refs, abandon commits that were abandoned in git
Now that I'm using GitHub PRs instead of pushing directly to the main
branch, it's quite annoying to have to abandon the old commits after
GitHub rebases them. This patch makes it so we compare the remote's
previous heads to the new heads and abandons any commits that were
removed on the remote. As usual, that means that descendants get
rebased onto the closest remaining commit.

This is half of #241. The other half is to detect rewritten branches
and rebase on top.
2022-04-28 11:28:09 -07:00
..
protos working_copy: record sparse patterns in the tree state (#52) 2022-04-26 14:52:17 -07:00
src git: when importing refs, abandon commits that were abandoned in git 2022-04-28 11:28:09 -07:00
tests git: when importing refs, abandon commits that were abandoned in git 2022-04-28 11:28:09 -07:00
build.rs build: conditionally use map_first_last feature if available 2022-02-20 22:21:14 -08:00
Cargo.toml cargo: upgrade uuid to 1.0.0 2022-04-20 14:18:59 -07:00