Activating a new item causes the current item to be deactivated. We're the current item, but we're on the stack, so we panic if we try to do this synchronously. If we use defer to wait until we're off the stack it works.
Global::gt
changed_since
project_path
project_entry
workspace::{Item, ItemView}
add_local_worktree
find_or_create_local_worktree
StringMatchCandidate