Open
Description
Environment
- Gerrit plugin version: 3.0.0.218
- Git Extensions version: 5.2.1.18061
- GIT version: 2.48.1
- OS version: Windows 11 Pro (10.0.26100 Build 26100)
Issue description
When the remote repository URL does not include a username, Git Extensions prompts for one during a fetch operation and subsequently crashes. It appears that the absence of a username in the SSH URL causes the fetch process to fail unexpectedly. In contrast, using an SSH URL that includes the username (e.g., ssh://marouanab@gerrit...) avoids the crash.
Steps to reproduce
- Set up a repository in Git Extensions with an SSH remote URL without a username (e.g., ssh://gerrit.example.com/...).
- Initiate a fetch operation.
- When prompted for a username, enter one.
- Git Extensions crashes immediately after.
Expected behavior
- Gracefully handle the absence of a username in the URL by prompting for one without crashing, or
- Provide a clear error message indicating that the SSH URL must include a username.
Actual behavior
After entering the username when prompted, Git Extensions crashes when performing a subsequent action.
Did this work in previous version of Gerrit plugin?
No response
Diagnostics
No response