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
704704 : null;
705705
706706 return {
707+ kind: details.isRepo ? ("git" as const) : ("unknown" as const),
707708 isRepo: details.isRepo,
708709 ...(hostingProvider ? { sourceControlProvider: hostingProvider } : {}),
709710 hasPrimaryRemote: details.hasOriginRemote,