adds claude-generated commit messages and a recent commits panel to the git view - adds log tailing in the explorer, branch merging and a clean up button
This commit is contained in:
@@ -176,10 +176,20 @@ public final class WorkspaceModel {
|
||||
case .cycleMode: editor?.togglePreview()
|
||||
case let .passSelection(info): passSelection(info)
|
||||
case .selectAllInFile: editor?.selectAll()
|
||||
case .closeTail: terminal.closeTail()
|
||||
|
||||
case .commit:
|
||||
guard let sourceControl else { return }
|
||||
track { await sourceControl.commit() }
|
||||
case .commitAndPush:
|
||||
guard let sourceControl else { return }
|
||||
track { await sourceControl.commit(andPush: true) }
|
||||
case .stageAllAndCommit:
|
||||
guard let sourceControl else { return }
|
||||
track { await sourceControl.stageAllAndCommit() }
|
||||
case .generateCommitMessage:
|
||||
guard let sourceControl else { return }
|
||||
track { await sourceControl.generateCommitMessage() }
|
||||
case .push:
|
||||
guard let sourceControl else { return }
|
||||
track { await sourceControl.push() }
|
||||
|
||||
Reference in New Issue
Block a user