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

GitExecute changes for WSL #3839

Merged
merged 6 commits into from
Sep 19, 2024
Merged

GitExecute changes for WSL #3839

merged 6 commits into from
Sep 19, 2024

Conversation

ssparach
Copy link
Contributor

@ssparach ssparach commented Sep 11, 2024

Summary of the pull request

This PR modifies the arguments used while starting a process inside GitExecute to accommodate obtaining git information for WSL repositories.

References and relevant issues

Detailed description of the pull request / Additional comments

This PR adds:

  • WSLIntegrator model class: parses WSL paths to extract relevant information and arguments
  • WSLIntegratorUnitTests: unit tests for WSLIntegrator

This PR modifies GitExecute to invoke wsl.exe with the expected arguments to obtain git information for registered wsl repository paths.

Validation steps performed

Package build
Unit Tests
Manual testing including registration of repositories inside Dev Home for the git extension

PR checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated

@ssparach ssparach merged commit c60dc85 into main Sep 19, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File Explorer version control integration should work with WSL repos/paths
4 participants