Git uncommit warning (#25977)
Adds a prompt when clicking the uncommit button when the current commit is already present on a remote branch:  Release Notes: - N/A --------- Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
parent
0200dda83d
commit
e505d6bf5b
6 changed files with 171 additions and 19 deletions
|
@ -454,6 +454,8 @@ messages!(
|
|||
(RemoteMessageResponse, Background),
|
||||
(GitCreateBranch, Background),
|
||||
(GitChangeBranch, Background),
|
||||
(CheckForPushedCommits, Background),
|
||||
(CheckForPushedCommitsResponse, Background),
|
||||
);
|
||||
|
||||
request_messages!(
|
||||
|
@ -598,6 +600,7 @@ request_messages!(
|
|||
(Pull, RemoteMessageResponse),
|
||||
(GitCreateBranch, Ack),
|
||||
(GitChangeBranch, Ack),
|
||||
(CheckForPushedCommits, CheckForPushedCommitsResponse),
|
||||
);
|
||||
|
||||
entity_messages!(
|
||||
|
@ -701,6 +704,7 @@ entity_messages!(
|
|||
Pull,
|
||||
GitChangeBranch,
|
||||
GitCreateBranch,
|
||||
CheckForPushedCommits,
|
||||
);
|
||||
|
||||
entity_messages!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue