revert: roll back git-backed review modes (#19295)

This commit is contained in:
Shoubhit Dash
2026-03-26 10:14:57 -04:00
committed by GitHub
parent d500a8432a
commit 1b028d0632
23 changed files with 228 additions and 1103 deletions
@@ -271,9 +271,9 @@ export function applyDirectoryEvent(input: {
break
}
case "vcs.branch.updated": {
const props = event.properties as { branch?: string }
const props = event.properties as { branch: string }
if (input.store.vcs?.branch === props.branch) break
const next = { ...input.store.vcs, branch: props.branch }
const next = { branch: props.branch }
input.setStore("vcs", next)
if (input.vcsCache) input.vcsCache.setStore("value", next)
break