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

remote: drop bitfields in git_remote_fetch_options #6806

Merged
merged 1 commit into from
May 13, 2024

Conversation

ethomson
Copy link
Member

@ethomson ethomson commented May 6, 2024

In attempting to make a clever change that added fetch options as flags, while keeping ABI and API compatibility, we screwed up. Bitfields in structs are implementation-specific and are not necessarily ABI compatible across compilers.

Make update_fetchhead a flags value which is weirdly named, but that's a future problem. This removes the report_unchanged option from API.

In attempting to make a clever change that added fetch options as flags,
while keeping ABI and API compatibility, we screwed up. Bitfields in
structs are implementation-specific and are not necessarily ABI
compatible across compilers.

Make `update_fetchhead` a flags value which is weirdly named, but
that's a future problem. This removes the `report_unchanged` option from
API.
@ethomson ethomson merged commit 26e0bd4 into main May 13, 2024
19 checks passed
@ethomson ethomson deleted the ethomson/fetch_opts branch May 13, 2024 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant