fix+refactor(vcs): fix HEAD filter bug and effectify VcsService (#17829)

This commit is contained in:
Kit Langton
2026-03-16 13:59:11 -04:00
committed by GitHub
parent ca3af5dc6a
commit e5cbecf17c
10 changed files with 259 additions and 89 deletions

View File

@@ -7,7 +7,7 @@ import { Project } from "./project"
import { Bus } from "../bus"
import { Command } from "../command"
import { Instance } from "./instance"
import { Vcs } from "./vcs"
import { VcsService } from "./vcs"
import { Log } from "@/util/log"
import { ShareNext } from "@/share/share-next"
import { Snapshot } from "../snapshot"
@@ -22,7 +22,7 @@ export async function InstanceBootstrap() {
await LSP.init()
await runPromiseInstance(FileWatcherService.use((service) => service.init()))
File.init()
Vcs.init()
await runPromiseInstance(VcsService.use((s) => s.init()))
Snapshot.init()
Truncate.init()