Skip to content

Commit 812c9be

Browse files
authored
Fix cloning with specific branch (microsoft#164619)
1 parent f5cbe7e commit 812c9be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/git/src/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ export class Git {
457457
command.push('--recursive');
458458
}
459459
if (options.ref) {
460-
command.push('--branch', `'${options.ref}'`);
460+
command.push('--branch', options.ref);
461461
}
462462
await this.exec(options.parentPath, command, {
463463
cancellationToken,

0 commit comments

Comments
 (0)