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:
co-authored by
Orca
brennanb2025
parent
a65f7b4216
commit
659fe79226
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user