Skip to content

hasconfig support in gitoxide #5478

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 1 commit into from
Nov 7, 2024
Merged

hasconfig support in gitoxide #5478

merged 1 commit into from
Nov 7, 2024

Conversation

Byron
Copy link
Collaborator

@Byron Byron commented Nov 7, 2024

This adds support for includeIf directives with the hasconfig condition,
something commonly used for user information which affects commits in GitButler.

Fixes #5420.

Tasks

  • gitoxide update

Notes for the Reviewer

This was validated via gix test, and by testing it in GitButler specifically.
To do that, the global configuration was changed to use an [includeIf "hasconfig:remote.*.url:<url-to-match>"] directive whose path then points to a new git configuration file that sets the user.name and user.email to a marker value. This value can then be observed when opening a repository whose URL matches in GitButler, and creating a commit.

…utlerapp#5420)

This adds support for `includeIf` directives with the `hasconfig` condition,
something commonly used for user information which affects commits in GitButler.
Copy link

vercel bot commented Nov 7, 2024

@Byron is attempting to deploy a commit to the GitButler Team on Vercel.

A member of the Team first needs to authorize it.

@krlvi
Copy link
Member

krlvi commented Nov 7, 2024

thanks

@Byron Byron merged commit 30a9b8a into gitbutlerapp:master Nov 7, 2024
17 of 18 checks passed
@Byron Byron deleted the hasconfig branch November 7, 2024 07:18
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.

GitButler not using includeIf configurations
2 participants