Expand description
Repository discovery and backend selection.
Enums§
Functions§
- discover
- Discover the repository containing
pathand return its working directory root. A.jjdirectory with no colocated.gitis a distinct, more actionable failure than a plain “not a repository”: we found a jj repo but no git one. - open
- Open the right backend for
root, asdiscoverresolved it, atDiffSettings::default:JjVcswhen a.jjdirectory sits beside.git(a colocated jj repo), plainGitVcsotherwise. - open_
with_ settings openwith the line-diff context, algorithm and indent heuristic the review diffs with.