Skip to content

precious opt in #2019

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

Merged
merged 4 commits into from
May 21, 2025
Merged

precious opt in #2019

merged 4 commits into from
May 21, 2025

Conversation

Byron
Copy link
Member

@Byron Byron commented May 21, 2025

Make precious file parsing opt-in and make gix (CLI) use it by default.
It can always be turned off with environment overrides.

Related to gitbutlerapp/gitbutler#8670.

Byron added 4 commits May 21, 2025 10:13
…parse ignore patterns.

That way it can support settings and other state that affect parsing.
This affects various crates which are all marked as breaking now.
…rrides.

That's pretty neat as one can now set `GIX_PARSE_PRECIOUS=0` in the environment
to disable precious file parsing, good to see what difference it makes.

It's also possible to do this wiht `gix -c gitoxide.parsePrecious=0`.
@Byron Byron marked this pull request as ready for review May 21, 2025 09:05
@Byron Byron enabled auto-merge May 21, 2025 09:05
@Byron Byron merged commit 5f9de52 into main May 21, 2025
24 checks passed
@Byron Byron deleted the precious-opt-in branch May 21, 2025 09:32
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.

1 participant