feat: add source control action to abort merge (#2092)

Co-authored-by: Orca <help@stably.ai>
Co-authored-by: brennanb2025 <brennankbenson@gmail.com>
This commit is contained in:
Leynier Gutiérrez González
2026-05-27 14:59:23 -07:00
committed by GitHub
co-authored by Orca brennanb2025
parent a65f7b4216
commit 659fe79226
25 changed files with 478 additions and 7 deletions
+1
View File
@@ -1571,6 +1571,7 @@ export type PreloadApi = {
worktreePath: string
connectionId?: string
}) => Promise<GitConflictOperation>
abortMerge: (args: { worktreePath: string; connectionId?: string }) => Promise<void>
diff: (args: {
worktreePath: string
filePath: string
+2
View File
@@ -2130,6 +2130,8 @@ const api = {
): Promise<GitHistoryResult> => ipcRenderer.invoke('git:history', args),
conflictOperation: (args: { worktreePath: string; connectionId?: string }): Promise<unknown> =>
ipcRenderer.invoke('git:conflictOperation', args),
abortMerge: (args: { worktreePath: string; connectionId?: string }): Promise<void> =>
ipcRenderer.invoke('git:abortMerge', args),
diff: (args: {
worktreePath: string
filePath: string