We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb14c96 commit 97b2fe2Copy full SHA for 97b2fe2
2 files changed
extensions/git/src/api/git.d.ts
@@ -192,6 +192,7 @@ export interface Repository {
192
193
export interface RemoteSource {
194
readonly name: string;
195
+ readonly description?: string;
196
readonly url: string | string[];
197
}
198
extensions/git/src/commands.ts
@@ -281,7 +281,7 @@ class RemoteSourceProviderQuickPick {
281
} else {
282
this.quickpick.items = remoteSources.map(remoteSource => ({
283
label: remoteSource.name,
284
- description: typeof remoteSource.url === 'string' ? remoteSource.url : '',
+ description: remoteSource.description || (typeof remoteSource.url === 'string' ? remoteSource.url : remoteSource.url[0]),
285
remoteSource
286
}));
287
0 commit comments