New Features
Repository::shallow_commits()
returns an uptodate list of shallow boundary commits.Repository::is_shallow()
to test if a repository is shallow.
Bug Fixes (BREAKING)
-
allow to traverse the entire commit graph of shallow repos
Previously, when traversing commits, we would assume to be in a
shallow repository if a commit's parent could not be found in the
repository.Now we validate that assumption by reading the 'shallow' file to
check if the last seen commit is on the commit boundary.This removes
is_shallow
anderror_on_missing_commit()
on the
revision::walk::Platform
as shallow commits are now known and handled
without any guesswork.
Commit Statistics
- 4 commits contributed to the release over the course of 2 calendar days.
- 3 days passed between releases.
- 3 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages