diff options
Diffstat (limited to 'packages/app/src/context/global-sync')
| -rw-r--r-- | packages/app/src/context/global-sync/event-reducer.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/app/src/context/global-sync/event-reducer.ts b/packages/app/src/context/global-sync/event-reducer.ts index c658d82c8..fa1a43d47 100644 --- a/packages/app/src/context/global-sync/event-reducer.ts +++ b/packages/app/src/context/global-sync/event-reducer.ts @@ -233,6 +233,7 @@ export function applyDirectoryEvent(input: { } case "vcs.branch.updated": { const props = event.properties as { branch: string } + if (input.store.vcs?.branch === props.branch) break const next = { branch: props.branch } input.setStore("vcs", next) if (input.vcsCache) input.vcsCache.setStore("value", next) |
