Skip to content

Fix authentication for local git operations#35

Merged
faustodavid merged 1 commit intomainfrom
bugfix/auth-local-operations
Apr 21, 2026
Merged

Fix authentication for local git operations#35
faustodavid merged 1 commit intomainfrom
bugfix/auth-local-operations

Conversation

@faustodavid
Copy link
Copy Markdown
Owner

Add _git_auth_subprocess_output method and switch local checkout operations (reset, clean, checkout, sparse-checkout, ls-remote) from _git_subprocess to _git_auth_subprocess to ensure authentication headers are included. Update _remote_head_sha and _apply_sparse_patterns to use authenticated variants. Add comprehensive unit tests verifying token auth is applied to checkout, reset, sparse patterns, and remote head SHA operations for both providers.

…s providers

Add `_git_auth_subprocess_output` method and switch local checkout operations (`reset`, `clean`, `checkout`, `sparse-checkout`, `ls-remote`) from `_git_subprocess` to `_git_auth_subprocess` to ensure authentication headers are included. Update `_remote_head_sha` and `_apply_sparse_patterns` to use authenticated variants. Add comprehensive unit tests verifying token auth is applied to checkout, reset, sparse patterns, and remote head SHA operations for both providers.
@faustodavid faustodavid merged commit e29954b into main Apr 21, 2026
8 checks passed
@faustodavid faustodavid deleted the bugfix/auth-local-operations branch April 21, 2026 16:40
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