We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aedbece commit 5103742Copy full SHA for 5103742
1 file changed
packages/opencode/src/project/vcs.ts
@@ -47,7 +47,7 @@ export namespace Vcs {
47
log.info("initialized", { branch: current })
48
49
const unsubscribe = Bus.subscribe(FileWatcher.Event.Updated, async (evt) => {
50
- if (evt.properties.file.endsWith("HEAD")) return
+ if (!evt.properties.file.endsWith("HEAD")) return
51
const next = await currentBranch()
52
if (next !== current) {
53
log.info("branch changed", { from: current, to: next })
0 commit comments