diff options
author | Stephan Dilly <dilly.stephan@gmail.com> | 2022-01-16 22:56:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-16 22:56:39 +0100 |
commit | 13b6b2fdc6c594cfc2963794ccf0e28977514a25 (patch) | |
tree | 0eea91ac9b16caf1f70855f2b8522a46d6174b6b /src/queue.rs | |
parent | 060380fdd6009e5738161a2b304529b744b8e3bd (diff) |
support deleting tag on remote (#1079)
Diffstat (limited to 'src/queue.rs')
-rw-r--r-- | src/queue.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/queue.rs b/src/queue.rs index 48a1ff64..8f7c06f6 100644 --- a/src/queue.rs +++ b/src/queue.rs @@ -1,6 +1,7 @@ use crate::{components::AppOption, tabs::StashingOptions}; -use asyncgit::sync::{ - diff::DiffLinePosition, CommitId, CommitTags, TreeFile, +use asyncgit::{ + sync::{diff::DiffLinePosition, CommitId, CommitTags, TreeFile}, + PushType, }; use bitflags::bitflags; use std::{ @@ -39,6 +40,7 @@ pub enum Action { DeleteLocalBranch(String), DeleteRemoteBranch(String), DeleteTag(String), + DeleteRemoteTag(String, String), ForcePush(String, bool), PullMerge { incoming: usize, rebase: bool }, AbortMerge, @@ -85,7 +87,7 @@ pub enum InternalEvent { /// OpenExternalEditor(Option<String>), /// - Push(String, bool, bool), + Push(String, PushType, bool, bool), /// Pull(String), /// |