martinvonz / jj

A Git-compatible VCS that is both simple and powerful
https://martinvonz.github.io/jj/
Apache License 2.0
8.32k stars 284 forks source link

New flag: `abandon --restore-descendants` #4525

Closed samueltardieu closed 1 week ago

samueltardieu commented 1 week ago

This factors out the code to emit an extra message "(while preserving their content)" when descendant commits have been reparented instead of rebased, and adds the --restore-descendants option to abandon, akin to diffedit --restore-descendants

Checklist

If applicable: