This commit is contained in:
João Moreno
2020-11-09 16:19:13 +01:00
parent c96f362934
commit 98e0e93ae0

View File

@@ -1260,7 +1260,6 @@ export class Repository implements Disposable {
const supportCancellation = config.get<boolean>('supportCancellation');
const fn = async (cancellationToken?: CancellationToken) => {
// When fetchOnPull is enabled, fetch all branches when pulling
if (fetchOnPull) {
await this.repository.fetch({ all: true, cancellationToken });