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

config: Fork out to git binary for config data. #149

Merged
merged 1 commit into from Sep 27, 2022

Conversation

wlynch
Copy link
Member

@wlynch wlynch commented Sep 26, 2022

Summary

We do this as a hack since go-git has issues parsing global configs for custom fields and doesn't support deprecated subsection syntaxes.

Fixes #128
Fixes #142

Signed-off-by: Billy Lynch billy@chainguard.dev

Release Note

  • Adds support for global and system gitconfigs
  • Fixes bug where gitsign failed to parse configs with deprecated dot syntax.

Documentation

We do this as a hack since go-git has issues parsing global configs
for custom fields and doesn't support deprecated subsection syntaxes.

Signed-off-by: Billy Lynch <billy@chainguard.dev>
@wlynch wlynch merged commit 2571804 into sigstore:main Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants