turbo
turbo copied to clipboard
Fix default baseBranch in docs
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
Name | Status | Preview | Updated |
---|---|---|---|
turbo-site | ⬜️ Ignored (Inspect) | Aug 12, 2022 at 7:35PM (UTC) |
Trying to trace through this, I'm not seeing us actually default to
origin/master
ororigin/main
anywhere. I could easily be missing something, but if this is the case then we shouldn't be claiming a default.
Good call. I don't see it being used either. @gsoltis @tknickman @nathanhammond do you know if this config is stil being used? I see it's in the type def:
https://github.com/vercel/turborepo/blob/3837c41bc313d8a9a648dcb0e05bb498541fe234/cli/internal/fs/turbo_json.go#L16
but I don't see any uses of .Base
property where ReadTurboJSON()
is called
you're correct, we're not using it. git comparisons are either done against the current HEAD
or specified inline in the value passed to --filter
Looks like it's been there since the original commit in this history: 6077c5e4894f4fa0a95b01d5cc8f3f103a227b8b, and even at that commit, I don't see it being used.
I can try going through and ripping all this out, but is there any reason to think this is a breaking change? The first commit in this repo is pre 1.0, so I think we can assume that the baseBranch
implementation (if there ever was one) has not worked since we hit 1.0.
cc @jaredpalmer if you have historical context or any other advice here!
Should be removed. Was used in JS version pre-acquisition and pre-Go and I guess never removed.