mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-07 01:25:38 -05:00
This reverts commit d15a3fcc98.
This commit is contained in:
@@ -56,13 +56,7 @@ class CheckoutRemoteHeadItem extends CheckoutItem {
|
||||
return;
|
||||
}
|
||||
|
||||
const branches = await repository.findTrackingBranches(this.ref.name);
|
||||
|
||||
if (branches.length > 0) {
|
||||
await repository.checkout(branches[0].name!);
|
||||
} else {
|
||||
await repository.checkoutTracking(this.ref.name);
|
||||
}
|
||||
await repository.checkoutTracking(this.ref.name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user