fix: support selecting child git repositories
This commit is contained in:
+2
-2
@@ -22,8 +22,8 @@ export type TabType = string
|
||||
|
||||
/** What a diff tab shows: a worktree/index change of one path, or one commit's full patch. */
|
||||
export type SidebarDiffRef =
|
||||
| { kind: 'worktree'; path: string; staged: boolean; untracked?: boolean }
|
||||
| { kind: 'commit'; hash: string; hashFull: string; subject: string }
|
||||
| { kind: 'worktree'; path: string; staged: boolean; untracked?: boolean; repoRoot?: string }
|
||||
| { kind: 'commit'; hash: string; hashFull: string; subject: string; repoRoot?: string }
|
||||
|
||||
/** One open tab. `path` carries the file (editor) or is absent (git/terminal);
|
||||
* `diff` carries the change a diff tab shows; `meta` (v0.12.0+) carries
|
||||
|
||||
Reference in New Issue
Block a user