-
Lilian Besson committed with GitHub 8 years ago
1 parent f79712de
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
-
skipped 59 lines 60 60 # bitbucket 61 61 elif grep -q bitbucket <<<$giturl; then 62 62 giturl=${giturl/git\@bitbucket\.org\:/https://bitbucket.org/} 63 - # handle SSH protocol (links like ssh://[email protected]/user/repo) 64 - giturl=${giturl/#ssh\:\/\/git\@bitbucket\.org\//https://bitbucket.org/} 63 + # handle SSH protocol (change ssh://https://bitbucket.org/user/repo to https://bitbucket.org/user/repo) 64 + giturl=${giturl/#ssh\:\/\/git\@/https://} 65 65 66 66 rev="$(git rev-parse HEAD)" 67 67 git_pwd="$(git rev-parse --show-prefix)" skipped 49 lines