Add git branch switching aliases (#26315)
This gives us _very_ rudimentary support for `git switch` and `git checkout` now, by making them aliases for our existing `git::branch` call. Release Notes: - Git Beta: Added `git::Switch` and `git::CheckoutBranch` as aliases for the existing `git::Branch`
This commit is contained in:
parent
bbe7c9a738
commit
60b3eb3f76
3 changed files with 43 additions and 4 deletions
|
@ -114,8 +114,9 @@ pub mod workspace {
|
|||
}
|
||||
|
||||
pub mod git {
|
||||
use gpui::action_with_deprecated_aliases;
|
||||
use gpui::{action_with_deprecated_aliases, actions};
|
||||
|
||||
actions!(git, [CheckoutBranch, Switch]);
|
||||
action_with_deprecated_aliases!(git, Branch, ["branches::OpenRecent"]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue