Avoid redundant string allocations (#63377)

Remove unnecessary intermediate `String` allocations when constructing
`Arc<str>` and `SharedString` values. Use static `SharedString` storage
for fixed worktree picker identifiers.

Validation:

- `cargo fmt --all -- --check`
- `tooling/lints/single-lint owned_string_into_shared -p editor -p
git_ui_core -p toolchain_selector`
- `cargo test -p editor -p git_ui_core -p toolchain_selector`

Release Notes:

- N/A
a3f6b96cedMiguel Raz Guzmán Macedo committed on 8/28/2026, 5:31:36 PM· committed by GitHubparent956a49e
3 files changedLine totals unavailable