-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
squash: leverage helper extracted from
jj move
This patch makes `jj squash` us the helper I just extracted from `jj move`. I had a to add a few small features to it for that. The `test_squash_command.rs` test changed in a few cases where we do a partial squash. After this patch, we include the rebased child in the count of rebased descendants. That seems reasonable and consistent with partial squash/move further than 1 generation.
- Loading branch information
1 parent
2e3939d
commit 93c1a80
Showing
3 changed files
with
65 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters