History

Add JJ VCS driver support

- Detect and route jj repositories alongside git - Thread VCS kind through status and UI labels - Add jj driver contract coverage and shared freshness helper

Julius Marminge committed 6 months ago

Commit c31beca1 parent 128b43230 files · +838 −44Browse files

Showing the changes to apps/server/src/git/GitManager.ts (1 of 30 files). Show all

Unified · Split

apps/server/src/git/GitManager.ts+1−0
@@ -704,6 +704,7 @@ export const makeGitManager = Effect.fn("makeGitManager")(function* () { · 703 unmodified lines
704 : null;704 : null;
705 705
706 return {706 return {
707 kind: details.isRepo ? ("git" as const) : ("unknown" as const),
707 isRepo: details.isRepo,708 isRepo: details.isRepo,
708 ...(hostingProvider ? { sourceControlProvider: hostingProvider } : {}),709 ...(hostingProvider ? { sourceControlProvider: hostingProvider } : {}),
709 hasPrimaryRemote: details.hasOriginRemote,710 hasPrimaryRemote: details.hasOriginRemote,