-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: move
resolve_destination_revs
to cli_utils
and rename
Summary: This is currently used by `new.rs`, `workspace.rs`, and `rebase.rs`, and may be useful for other commands and custom CLIs. So just go ahead and move it into the parent module hierarchy. Also rename the function to `resolve_all_revs`, as it isn't actually specific to rebase at all. Signed-off-by: Austin Seipp <[email protected]> Change-Id: I0ea12afd8107f95a37a91340820221a0
- Loading branch information
1 parent
e1193db
commit 17bcac6
Showing
4 changed files
with
25 additions
and
30 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
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
17bcac6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks! I've been staring at this function and wondering what to do about it, I think this is a good way to deal with it.