New Features (BREAKING)
revision::Walk
yieldsrevision::Info
structs instead ofId
s.
This enables re-use of information that was already obtained, like the parents of
a commit and possibly its commit-time.
Changed (BREAKING)
-
rename
Repository::commit_graph()
to::revision_graph()
.
THat's a better fix given its locaion ingix-revision
, while differentiating
it further from the lower-levelcommit-graph
.Also rename
Repository::commit_cache()
to::commit_graph()
now that the name is free.
Other
-
gix::revision::walk::Platform
now informas about the commitgraph.
In short, one should use theGraph
to obtain the tools necessary for potentially
accelerated, custom commit walks.
New Features
-
make it possible to use
config::tree::Key
to more conveniently set values viaconfig::SnapshotMut::set()
-
use the
commitgraph
if possible and allow its usage to be controlled viarevision::walk::Platform::use_commit_graph(toggle)
.
The commitgraph is a data structure to greatly accelerate commit walks. It is now supported and
used by default, but can be deactivated if desired.Further, add
Repository::commit_cache()
for direct access to just the commit-graph datastructure,
without the extras provided bygix_revision::Graph
. -
add
Repository::index_or_load_from_head()
.
That way it's possible to either open the existing worktree index, or create one
in-memory by turning our HEAD tree into an index on the fly. -
make it possible to use
config::tree::Key
to more conveniently set values viaconfig::SnapshotMut::set()
Commit Statistics
- 14 commits contributed to the release over the course of 2 calendar days.
- 3 days passed between releases.
- 6 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Prepare changelogs prior to release (298f3d7)
- Improve tests related to the handling of shallow repos (d50bfa9)
- Merge branch 'walk-with-commitgraph' (fdee9a2)
- Adapt to changes in
gix
(20f73c8) revision::Walk
yieldsrevision::Info
structs instead ofId
s. (7e9f202)- Rename
Repository::commit_graph()
to::revision_graph()
. (068603a) - Use the
commitgraph
if possible and allow its usage to be controlled viarevision::walk::Platform::use_commit_graph(toggle)
. (b2b88dc) - Adapt to changes in
gix-traverse
(1f682fd) - Adapt to changes in
gix-revwalk
(f7d95d1) - Add
Repository::index_or_load_from_head()
. (5d32012) gix::revision::walk::Platform
now informas about the commitgraph. (f0ddc3b)- Update changelog with information for the
gix
CLI. (4e081f2) - Make it possible to use
config::tree::Key
to more conveniently set values viaconfig::SnapshotMut::set()
(2a698fa) - Release gix-protocol v0.33.1 (9c99ed3)