| skipped 186 lines |
187 | 187 | | |
188 | 188 | | if [[ "$domain" == 'bitbucket.org' ]]; then |
189 | 189 | | # Bitbucket, see https://github.com/paulirish/git-open/issues/80 for why ?at is needed. |
190 | | - | providerBranchRef="/src?at=$remote_ref" |
| 190 | + | providerBranchRef="/src/$remote_ref" |
191 | 191 | | elif [[ "${#pathargs[@]}" -ge 3 && ${pathargs[${#pathargs[@]} - 3]} == 'scm' ]]; then |
192 | 192 | | # Bitbucket server always has /scm/ as the third to last segment in the url path, e.g. /scm/ppp/test-repo.git |
193 | 193 | | # Anything before the 'scm' is part of the server's root context |
| skipped 85 lines |