forked from mirrors/jj
da221eb888
If readonly_index() and index() returned Result, it would propagate to many call sites. That seems bad for API ergonomics. Suppose most "repo" commands depend on an index, I think it's okay to load index eagerly: - "jj config" doesn't load repo (nor index) - "jj workspace root" doesn't load repo (nor index) - some other mutation commands load index when printing commit summary - many other commands load index when resolving revset |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
proc-macros | ||
src | ||
tests | ||
testutils | ||
Cargo.toml | ||
LICENSE |