Repository navigation
Commit fa9724b
committed
Refine multi-root workspace detection using workspace folders count
- in a multi root folder workspace the changes symbol is placed invalid if some root folders are not git repos[Pasted text]
- Fix replace-git-symbols.ts to properly support branch names containing slashes in single-root workspaces by checking if the workspace has multiple roots before relying solely on the folder/branch regex match.
└── apps
└── editor
└── src
├── i18n
│ └── translations
│ └── views
│ └── prompt
│ └── utils
│ └── symbols
│ └── git
│ └── replace-git-symbols.ts
├── utils
│ ├── git-repository-utils.ts
│ └── is-valid-git-branch-name.ts
└── views
├── prompt
│ └── backend
│ ├── message-handlers
│ │ └── handle-preview-changes-symbol.ts
│ └── utils
│ └── symbols
│ ├── git
│ │ └── replace-git-symbols.ts
│ └── replace-symbols.ts
└── shared
└── utils
└── hash-sign-quick-pick
├── hash-sign-quick-pick.ts
└── symbols
└── changes-symbol.ts1 parent 7a498ca commit fa9724b
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
162 | 166 | | |
163 | 167 | | |
164 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| |||
0 commit comments