Martin von Zweigbergk
9c8f13608f
cargo: update blake2
...
For no reason other than to stay up to date.
2020-12-24 01:15:38 -08:00
Martin von Zweigbergk
14e7df995a
index: move static functions from Index to IndexFile and delete it
...
The Index struct no longer has any state, so it's not needed.
2020-12-18 16:12:45 -08:00
Martin von Zweigbergk
00fb670c9c
index: make Index::load() return Arc<IndexFile> instead of Index
...
This removes one level of indirection, which is nice because it was
visible to the callers. The `Index` struct is now empty. The next step
is obviously to delete it (and perhaps rename `IndexFile` to `Index`
or `ReadonlyIndex`).
2020-12-18 16:12:45 -08:00
Martin von Zweigbergk
af1760b02e
index: load index file eagerly in Index::load() now that Repo::index() is lazy
2020-12-18 16:12:45 -08:00
Martin von Zweigbergk
6b1427cb46
import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo
2020-12-12 00:23:38 -08:00