Skip to content

Commit 5367c5e

Browse files
committed
branch
1 parent 21a0f77 commit 5367c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utils/git-clone.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export async function cloneRepo(options: CloneOptions): Promise<void> {
4545

4646
const cloneArgs: string[] = [];
4747
if (branch) {
48-
cloneArgs.push("--branch", branch);
48+
cloneArgs.push("--branch", branch, "--single-branch");
4949
}
5050
if (depth) {
5151
cloneArgs.push("--depth", String(depth));

0 commit comments

Comments
 (0)