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(git): add support for credential.useHttpPath #1547

Merged

Conversation

pascalbreuninger
Copy link
Member

In some scenarios the host machines git config sets credential.useHttpPath=true but the git config in either the agent or actual workspace doesn't.
Until now this would break git credential forwarding because we wouldn't provide the path component to the machines git credential helper.

Copy link
Contributor

@bkneis bkneis left a comment

Choose a reason for hiding this comment

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

LGTM! Really like the comments 🙇 🙏

@pascalbreuninger pascalbreuninger force-pushed the fix/POD-1227-use-http-path branch from 405919a to 27d83fc Compare January 13, 2025 09:21
In some scenarios the host machines git config sets
`credential.useHttpPath=true` but the git config in either the agent or
actual workspace doesn't.
Until now this would break git credential forwarding because we
wouldn't provide the `path` component to the machines git credential
helper.
@pascalbreuninger pascalbreuninger force-pushed the fix/POD-1227-use-http-path branch from 27d83fc to d86af68 Compare January 13, 2025 09:22
@pascalbreuninger pascalbreuninger merged commit 468632d into loft-sh:main Jan 13, 2025
17 of 23 checks passed
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.

3 participants