Expand description
VCS backend abstraction for worktree and workspace management.
Grove supports both git worktrees and jj workspaces through the VcsBackend
trait. The backend is auto-detected: if the repository contains a .jj/
directory, jj is used; otherwise git. Users can force git mode with --vcs git
for colocated repos.
Structsยง
- GitBackend ๐
- JjBackend ๐
- Worktree
Info - Information about a worktree/workspace managed by a VCS backend.
Enumsยง
- VcsKind
- Which VCS backend produced this worktree entry.
- VcsOverride
- Override for VCS backend selection via
--vcsflag.
Traitsยง
- VcsBackend
- Trait for VCS backends that manage worktrees/workspaces.
Functionsยง
- detect_
backend - Detect the appropriate VCS backend for a repository.
- ensure_
jj_ ๐installed