Git - add commit details to ref pickers (#243582)

* Refactor ref parsing

* Initial implementation of getting the commit details

* Show additional information in the pickers
This commit is contained in:
Ladislau Szomoru
2025-03-14 18:52:13 +01:00
committed by GitHub
parent 80eac34bb1
commit 0a7b6a0f8b
5 changed files with 112 additions and 28 deletions

View File

@@ -30,6 +30,7 @@ export interface Ref {
readonly type: RefType;
readonly name?: string;
readonly commit?: string;
readonly commitDetails?: Commit;
readonly remote?: string;
}
@@ -185,6 +186,7 @@ export interface RefQuery {
readonly contains?: string;
readonly count?: number;
readonly pattern?: string | string[];
readonly includeCommitDetails?: boolean;
readonly sort?: 'alphabetically' | 'committerdate';
}