feat(folder): add commit reset action in git log
Add a "Reset to Here" context action for git log commit items in the folder page. Show a reset dialog with branch, target commit, commit message, and reset mode details for soft, mixed, hard, and keep. Disable reset when viewing a non-current branch filter and keep the action ordering under commit diff. Add git_reset support across Rust commands, Tauri invoke registration, web handlers/routes, and frontend API/type bindings. Add localized reset labels, mode descriptions, and toast messages across all supported languages.
This commit is contained in:
@@ -736,6 +736,8 @@ export interface GitStatusEntry {
|
||||
file: string
|
||||
}
|
||||
|
||||
export type GitResetMode = "soft" | "mixed" | "hard" | "keep"
|
||||
|
||||
export interface GitBranchList {
|
||||
local: string[]
|
||||
remote: string[]
|
||||
|
||||
Reference in New Issue
Block a user