Commit b9268a3
committed
fix: draft thread effectiveCwd fallback to project cwd and remove redundant ensureGitWorkspace
- buildLocalDraftThread now accepts projectCwd and falls back to it
when no worktreePath is set, matching server-side projection logic
- Remove single-use ensureGitWorkspace helper and its redundant call
in statusDetails (execute already guards via assertWorkspaceDirectory)1 parent ae625d2 commit b9268a3
File tree
3 files changed
+11
-22
lines changed- apps
- server/src/git/Layers
- web/src/components
3 files changed
+11
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | 676 | | |
691 | 677 | | |
692 | 678 | | |
| |||
1073 | 1059 | | |
1074 | 1060 | | |
1075 | 1061 | | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | 1062 | | |
1082 | 1063 | | |
1083 | 1064 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
41 | | - | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| 489 | + | |
489 | 490 | | |
490 | 491 | | |
491 | | - | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
492 | 499 | | |
493 | 500 | | |
494 | 501 | | |
| |||
0 commit comments