Skip to content

Commit 668e022

Browse files
committed
Drop single branch strategy for SemVer checkout
As this will result in a checkout failure when the default branch on the remote is not `master`. Surfaced due to Contour switching from `master` to `main` overnight.
1 parent 8950d43 commit 668e022

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/git/checkout.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ func (c *CheckoutSemVer) Checkout(ctx context.Context, path, url string, auth tr
173173
URL: url,
174174
Auth: auth,
175175
RemoteName: defaultOrigin,
176-
SingleBranch: true,
177176
NoCheckout: false,
178177
Depth: 1,
179178
RecurseSubmodules: 0,

0 commit comments

Comments
 (0)