- Detect and route jj repositories alongside git - Thread VCS kind through status and UI labels - Add jj driver contract coverage and shared freshness helper
Showing the changes to packages/shared/src/git.ts (1 of 30 files). Show all
Unified · Split
| @@ -226,6 +226,7 @@ function toRemoteStatusPart(status: VcsStatusResult): VcsStatusRemoteResult { · 225 unmodified lines | |||
| 226 | 226 | ||
| 227 | function toLocalStatusPart(status: VcsStatusResult): VcsStatusLocalResult { | 227 | function toLocalStatusPart(status: VcsStatusResult): VcsStatusLocalResult { |
| 228 | return { | 228 | return { |
| 229 | kind: status.kind, | ||
| 229 | isRepo: status.isRepo, | 230 | isRepo: status.isRepo, |
| 230 | ...(status.sourceControlProvider | 231 | ...(status.sourceControlProvider |
| 231 | ? { sourceControlProvider: status.sourceControlProvider } | 232 | ? { sourceControlProvider: status.sourceControlProvider } |
| @@ -251,6 +252,7 @@ export function applyGitStatusStreamEvent( · 19 unmodified lines | |||
| 251 | if (current === null) { | 252 | if (current === null) { |
| 252 | return mergeGitStatusParts( | 253 | return mergeGitStatusParts( |
| 253 | { | 254 | { |
| 255 | kind: "unknown", | ||
| 254 | isRepo: true, | 256 | isRepo: true, |
| 255 | hasPrimaryRemote: false, | 257 | hasPrimaryRemote: false, |
| 256 | isDefaultRef: false, | 258 | isDefaultRef: false, |