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
This commit is contained in:
1 parent
0ce7e56e43
commit
1a5be6cc2b
30 files changed
+836
-86
No files matched your search
@@ -230,6 +230,7 @@ function toRemoteStatusPart(status: VcsStatusResult): VcsStatusRemoteResult {
|
||||
|
||||
function toLocalStatusPart(status: VcsStatusResult): VcsStatusLocalResult {
|
||||
return {
|
||||
kind: status.kind,
|
||||
isRepo: status.isRepo,
|
||||
...(status.sourceControlProvider
|
||||
? { sourceControlProvider: status.sourceControlProvider }
|
||||
@@ -255,6 +256,7 @@ export function applyGitStatusStreamEvent(
|
||||
if (current === null) {
|
||||
return mergeGitStatusParts(
|
||||
{
|
||||
kind: "unknown",
|
||||
isRepo: true,
|
||||
hasPrimaryRemote: false,
|
||||
isDefaultRef: false,
|
||||
|
||||
Reference in new issue
Block a user