opencode-branch-memory-manager 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,7 +22,10 @@ export class BranchMonitor {
|
|
|
22
22
|
newBranch: string,
|
|
23
23
|
) => void,
|
|
24
24
|
private config: PluginConfig,
|
|
25
|
-
) {
|
|
25
|
+
) {
|
|
26
|
+
// Register the callback so it gets called on branch changes
|
|
27
|
+
this.changeCallbacks.push(this.onBranchChange);
|
|
28
|
+
}
|
|
26
29
|
|
|
27
30
|
/**
|
|
28
31
|
* Start monitoring git branch changes
|