Git - do not show checkout commands when searching (#202567)

This commit is contained in:
Ladislau Szomoru 2024-01-16 09:33:07 +01:00 committed by GitHub
parent 70869b7bc6
commit 61112949a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ import { RemoteSourceAction } from './api/git-base';
abstract class CheckoutCommandItem implements QuickPickItem {
abstract get label(): string;
get description(): string { return ''; }
get alwaysShow(): boolean { return true; }
get alwaysShow(): boolean { return false; }
}
class CreateBranchItem extends CheckoutCommandItem {