Git - add worktrees node to the Repositories view (#284224)

* Worktree node - initial implementation

* Wire up various commands
This commit is contained in:
Ladislau Szomoru
2025-12-18 10:48:41 +00:00
committed by GitHub
parent 900e7cb348
commit 150682a14a
8 changed files with 198 additions and 43 deletions

View File

@@ -76,6 +76,14 @@ export interface Remote {
readonly isReadOnly: boolean;
}
export interface Worktree {
readonly name: string;
readonly path: string;
readonly ref: string;
readonly detached: boolean;
readonly commitDetails?: Commit;
}
export const enum Status {
INDEX_MODIFIED,
INDEX_ADDED,