Skip to content
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

fix: don't ignore packed ref deletion in non-default transaction mode #1349

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

yuja
Copy link
Contributor

@yuja yuja commented Apr 21, 2024

Before, Change::Delete edits weren't propagated to packed refs if the mode was DeletionsAndNonSymbolicUpdates/RemoveLooseSourceReference.

Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, I love the test!

Given how simple it is, I wonder how many more tests might be missing, despite my best attempts to put down a pole in every important spot.

I plan to rebase the PR onto main once CI is fixed there, and then merge.

Before, Change::Delete edits weren't propagated to packed refs if the mode was
DeletionsAndNonSymbolicUpdates/RemoveLooseSourceReference.
One of these impls had to be moved into their own module for compartmentalisation
as for some reason, the clippy lint couldn't be disabled.
@Byron Byron merged commit 048e43e into GitoxideLabs:main Apr 22, 2024
19 checks passed
@yuja yuja deleted the push-wwxrqxuzmolm branch April 22, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants