We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e8305c8 + 28b8f36 commit e412c5fCopy full SHA for e412c5f
main.go
@@ -572,7 +572,7 @@ func main() {
572
if *flUsername == "" {
573
// username and user@host URLs are validated as mutually exclusive
574
if u, err := url.Parse(*flRepo); err == nil { // it may not even parse as a URL, that's OK
575
- if u.User != nil {
+ if u.User != nil && u.Scheme != "ssh" {
576
if user := u.User.Username(); user != "" {
577
*flUsername = user
578
}
0 commit comments