Skip to content

Support nested scp-style clone URLs#112

Open
gimbo wants to merge 1 commit into
tobi:mainfrom
gimbo:fix-scp-style-ssh-clone-urls
Open

Support nested scp-style clone URLs#112
gimbo wants to merge 1 commit into
tobi:mainfrom
gimbo:fix-scp-style-ssh-clone-urls

Conversation

@gimbo
Copy link
Copy Markdown

@gimbo gimbo commented Apr 27, 2026

Summary

  • Accept generic scp-style SSH clone URLs such as user@host:path/to/repo.git
  • Preserve existing git@host:user/repo directory naming behavior
  • Document and test nested scp-style clone URL handling

Testing

  • ./spec/tests/runner.sh ./try.rb test_32_git_uri

try clone accepted git@host:user/repo but rejected valid scp-style SSH URLs with a custom SSH user or deeper repository path, such as user@host:git/prog/repo.git.

Parse the generic user@host:path form after the existing git@host:user/repo case, deriving the repository name from the path basename so existing directory naming stays unchanged.
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