-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update rust crate gix to 0.68.0 #14879
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
Update cargo 17 commits in 4c39aaff66862cc0da52fe529aa1990bb8bb9a22..05f54fdc34310f458033af8a63ce1d699fae8bf6 2024-11-25 16:36:17 +0000 to 2024-12-03 03:14:12 +0000 - test(pgo): only run on nightly (rust-lang/cargo#14887) - chore: Bump to 0.86.0; update changelog (rust-lang/cargo#14885) - docs(ref): Finish a sentence on rust-versions (rust-lang/cargo#14884) - chore(deps): update rust crate cargo_metadata to 0.19.0 (rust-lang/cargo#14878) - chore(deps): update rust crate gix to 0.68.0 (rust-lang/cargo#14879) - fix: Remove default registry reference in `info` cmd docs (rust-lang/cargo#14880) - test(pgo): determine test runnability at compile time (rust-lang/cargo#14874) - test: `requires` attribute accepts string literals for cmds (rust-lang/cargo#14875) - chore(deps): update msrv (3 versions) to v1.81 (rust-lang/cargo#14871) - chore(deps): update msrv (rust-lang/cargo#14867) - fix(fix): Migrate cargo script manifests across editions (rust-lang/cargo#14864) - feat(toml): Allow adding/removing from cargo scripts (rust-lang/cargo#14857) - Add future-incompat warning against keywords in cfgs and add raw-idents (rust-lang/cargo#14671) - test(build-std): download deps first (rust-lang/cargo#14861) - test(pgo): ensure PGO works (rust-lang/cargo#14859) - git-fetch-with-cli: Set `GIT_DIR` for bare repository compatibility (rust-lang/cargo#14860) - fix(build-std): always link to std when testing proc-macros (rust-lang/cargo#14850)
Update cargo 17 commits in 4c39aaff66862cc0da52fe529aa1990bb8bb9a22..05f54fdc34310f458033af8a63ce1d699fae8bf6 2024-11-25 16:36:17 +0000 to 2024-12-03 03:14:12 +0000 - test(pgo): only run on nightly (rust-lang/cargo#14887) - chore: Bump to 0.86.0; update changelog (rust-lang/cargo#14885) - docs(ref): Finish a sentence on rust-versions (rust-lang/cargo#14884) - chore(deps): update rust crate cargo_metadata to 0.19.0 (rust-lang/cargo#14878) - chore(deps): update rust crate gix to 0.68.0 (rust-lang/cargo#14879) - fix: Remove default registry reference in `info` cmd docs (rust-lang/cargo#14880) - test(pgo): determine test runnability at compile time (rust-lang/cargo#14874) - test: `requires` attribute accepts string literals for cmds (rust-lang/cargo#14875) - chore(deps): update msrv (3 versions) to v1.81 (rust-lang/cargo#14871) - chore(deps): update msrv (rust-lang/cargo#14867) - fix(fix): Migrate cargo script manifests across editions (rust-lang/cargo#14864) - feat(toml): Allow adding/removing from cargo scripts (rust-lang/cargo#14857) - Add future-incompat warning against keywords in cfgs and add raw-idents (rust-lang/cargo#14671) - test(build-std): download deps first (rust-lang/cargo#14861) - test(pgo): ensure PGO works (rust-lang/cargo#14859) - git-fetch-with-cli: Set `GIT_DIR` for bare repository compatibility (rust-lang/cargo#14860) - fix(build-std): always link to std when testing proc-macros (rust-lang/cargo#14850)
This PR contains the following updates:
0.67.0
->0.68.0
Release Notes
GitoxideLabs/gitoxide (gix)
v0.68.0
: gix v0.68.0Compare Source
New Features
Add support for
index
application in merge results viamerge::tree::Outcome::index_changed_after_applying_conflicts()
add
Repository::merge_base_octopus()
add
Repository::virtual_merge_base()
andRepository::virtual_merge_base_with_graph()
.add
Repository::merge_commits()
It's often more convenient to work with commits when merging, especially
when merge-bases are dealt with automatically.
add
objects::tree::Editor::detach()
to get the underlying editor back.This can be useful to have more control over what gets written, or how.
add
Repository::index_or_load_from_head_or_empty()
.It's useful to get a reasonable index in any case, even on unborn repositories.
It's for cases where the
HEAD
isn't setup at all, despite content being available,and to avoid unnecessary restrictions on what works.
add
Object::peel_to_commit()
to assure an object turns into a commit.add
Repository::merge_trees()
gix::Repository
implements all traits for object reading and writing.That way it becomes usable when merging trees, which benefits from automatic
checking of hashes before writing loose objects.
add
tree()
andcommit()
merge support, en par withmerge-ORT
as far as tests go.Note that this judgement of quality is based on a limited amount of partially complex
test, but it's likely that in practice there will be deviations of sorts.
Also, given the complexity of the implementation it is definitely under-tested,
but with that it's mostly en par with Git, unfortunatly.
On the bright side, some of the tests are very taxing and I'd hope this
means something for real-world quality.
Bug Fixes
Repository::tree_merge_options()
now comes with rewrite tracking.This is the way Git acts, as it's either configured, or defaults to the value
coming from the
diff.renames
configuration.respect
core.bare=true
in conjunction with the main worktreepropagate errors that are triggered when writing objects
Previously it was assumed that writing objects could never fail unless
there isn't enough memory to do so. However, it turns out that
some last-minute validation can always be triggered and prevent an object
to be written.
Now that error is propagated instead.
assure submodules are skipped everywhere
This also adds
Repository::head_tree()
for convenience.New Features (BREAKING)
Repository::merge_trees()
now takes portable version ofOptions
.Repository::merge_trees()
now has a fully-wrapped outcome.That way, more attached types are used for greater convenience.
Bug Fixes (BREAKING)
rename
blob-merge
feature totree-merge
.By now,
blob-merge
is the lowest-level of features which is requiredfor both tree-merges and commit based merges. Hence it's better
to just call it
merge
.Adjust blob-merge baseline to also test the reverse of each operation
This also fixes an issue with blob merge computations.
It's breaking because the marker-size was reduced to
u8
.Commit Statistics
Commit Details
view details
dc3d8bf
)d15a493
)core.bare=true
in conjunction with the main worktree (88d9d43
)8ce4912
)bc9d994
)0b7abfb
)index
application in merge results viamerge::tree::Outcome::index_changed_after_applying_conflicts()
(71b0cea
)Repository::tree_merge_options()
now comes with rewrite tracking. (b57be71
)gix-merge
. (47110d6
)aeaebec
)==
size assertions (daf9990
)<=
on 32-bit for some size assertions (fc13fc3
)9ab86a2
)275a0c5
)49ba115
)7a40648
)0f0e4fe
)cf0c7ee
)Repository::merge_base_octopus()
(65ae68e
)905e5b4
)Repository::virtual_merge_base()
andRepository::virtual_merge_base_with_graph()
. (7aee32a
)Repository::merge_commits()
(5f3f63a
)c5955fc
)hasconfig
is working ongix
level as well. (d51aec9
)697a632
)4079519
)a876533
)Repository::merge_trees()
now takes portable version ofOptions
. (a43e563
)blob-merge
feature totree-merge
. (2547935
)Repository::merge_trees()
now has a fully-wrapped outcome. (1d2262f
)objects::tree::Editor::detach()
to get the underlying editor back. (27b663e
)Repository::index_or_load_from_head_or_empty()
. (1f9556a
)Object::peel_to_commit()
to assure an object turns into a commit. (2fce14f
)5b428a9
)8e99eba
)chmod
in make_rev_spec_parse_repos; regenerate archive on macOS (d74e919
)72cd7f3
)8720acb
)3fb989b
)Repository::merge_trees()
(d1ac584
)gix::Repository
implements all traits for object reading and writing. (07746f3
)80e006b
)tree()
andcommit()
merge support, en par withmerge-ORT
as far as tests go. (4b1764c
)gix-object
andgix-odb
(96488f7
)de1cfb6
)db5c9cf
)Configuration
📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.