From 812c9bedf2b73c71cf74eba7640bf35ef55659d1 Mon Sep 17 00:00:00 2001 From: Joyce Er Date: Tue, 25 Oct 2022 15:27:41 -0700 Subject: [PATCH] Fix cloning with specific branch (#164619) --- extensions/git/src/git.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/git/src/git.ts b/extensions/git/src/git.ts index d7717e23cc5..7c49b545f8c 100644 --- a/extensions/git/src/git.ts +++ b/extensions/git/src/git.ts @@ -457,7 +457,7 @@ export class Git { command.push('--recursive'); } if (options.ref) { - command.push('--branch', `'${options.ref}'`); + command.push('--branch', options.ref); } await this.exec(options.parentPath, command, { cancellationToken,