New Features
- add
State::prefixed_range()
to obtain a range of entries matching a prefix.
This makes it easier to make changes to entries of a certain prefix. - add
State::remove_entries()
andentry_range()
.
This makes it possible to, among other things, delete all
occurrences of a particular entry. - add support for
write::Options::skip_hash
.
With it, a hash will not be produced for indices.
Bug Fixes
gix-index
prefix matching should now work correctly with conflicting files.
It was done in a rush and lacks a lot of tests. At least now it
has a greater chance of working, as tests that would truly validate
this are still missing for a lack of test date. It can be produced
withgit update-index
, but it wasn't yet worth it.
New Features (BREAKING)
- Check the hash when reading via
File::at()
just likegit
, or skip the check.
Note that indices written withindex.skipHash=true
will be vastly
faster to read by a factor of 2 or more.
Bug Fixes (BREAKING)
- skip the null-hash when validating the index.
This is needed for compatibility withindex.skipHash
, which may skip
producing the hash at the end of the index file, just filling in the
null-hash.
Commit Statistics
- 9 commits contributed to the release over the course of 9 calendar days.
- 9 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
gix-index
release (6fdbc66) - Add
State::prefixed_range()
to obtain a range of entries matching a prefix. (cfbfa43) - Add
State::remove_entries()
andentry_range()
. (8b689c2) gix-index
prefix matching should now work correctly with conflicting files. (6169325)- Merge branch 'fixes' (4bfd1cc)
- Check the hash when reading via
File::at()
just likegit
, or skip the check. (61c2e34) - Add support for
write::Options::skip_hash
. (2f42132) - Skip the null-hash when validating the index. (b310d04)
- Merge branch 'gix-submodule' (363ee77)
- Prepare