New Features (BREAKING)
-
add leaf-only tree-editor removal via
Editor::remove_leaf()
Motivation comes from gitbutlerapp/gitbutler#14312,
where callers had to split tree-entry deletions from additions to avoid
accidentally deleting a newly-added subtree after adding A/one and then deleting
A.Add Editor::remove_leaf() to gix-object and expose it through gix object tree
editors and cursors. The new API keeps remove() behavior unchanged, remains
tolerant of absent paths, but returns an error when the target entry exists and
is a tree. -
Add
Write::*_with_known_id()variants.
Addwrite_buf_with_known_id()andwrite_stream_with_known_id()to the
Write trait without default bodies.
That way it's possible to precompute the hash and avoid recomputing it here.
Commit Statistics
- 5 commits contributed to the release over the course of 27 calendar days.
- 27 days passed between releases.
- 2 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Merge pull request #2654 from GitoxideLabs/tree-editor-improvement (f051396)
- Add leaf-only tree-editor removal via
Editor::remove_leaf()(cd610db) - Merge pull request #2549 from GitoxideLabs/no-dupl-compute (69caccd)
- Add
Write::*_with_known_id()variants. (879694a) - Merge pull request #2618 from GitoxideLabs/report (f7d4f33)