forked from mirrors/jj
0e82e52c3a
Since both has_id() and resolve_prefix() do binary search, their costs are practically the same. I think has_id() would complete with fewer ops, but such level of optimization wouldn't be needed here. More importantly, this ensures that unreachable commits aren't imported by GitBackend::read_commit(). |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
Cargo.toml | ||
LICENSE |