Skip to content

Commit bff4a8f

Browse files
committed
test(server): cover branch tag collisions during pull retry
1 parent 989ee69 commit bff4a8f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/server/src/vcs/GitVcsDriverCore.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ describe("pullCurrentBranch", () => {
368368
const driver = yield* GitVcsDriver.GitVcsDriver;
369369
const fs = yield* FileSystem.FileSystem;
370370
const { cwd, updater, initialBranch, remoteHead } = yield* cloneBehindRemote;
371+
yield* git(cwd, ["tag", initialBranch]);
371372
yield* git(updater, ["push", "origin", "HEAD:refs/heads/other"]);
372373
const remoteName = customMapping ? "team/upstream" : "origin";
373374
const refPrefix = customMapping

0 commit comments

Comments
 (0)