Git - fix race condition with computing teh branch base (#251374)

This commit is contained in:
Ladislau Szomoru
2025-06-13 13:41:51 +02:00
committed by GitHub
parent f0aef94f97
commit ea92c32109
3 changed files with 4 additions and 3 deletions

View File

@@ -16,7 +16,6 @@ import { CancellationError, CancellationToken, ConfigurationChangeEvent, LogOutp
import { Commit as ApiCommit, Ref, RefType, Branch, Remote, ForcePushMode, GitErrorCodes, LogOptions, Change, Status, CommitOptions, RefQuery as ApiRefQuery, InitOptions } from './api/git';
import * as byline from 'byline';
import { StringDecoder } from 'string_decoder';
import { sequentialize } from './decorators';
// https://github.com/microsoft/vscode/issues/65693
const MAX_CLI_LENGTH = 30000;
@@ -1242,7 +1241,6 @@ export class Repository {
return this.git.spawn(args, options);
}
@sequentialize
async config(command: string, scope: string, key: string, value: any = null, options: SpawnOptions = {}): Promise<string> {
const args = ['config', `--${command}`];