open src to current path

This commit is contained in:
David O'Trakoun 2015-05-09 01:31:24 -04:00
parent 88ce0da6d8
commit b62ca9a09f

View file

@ -56,7 +56,9 @@ elif grep -q github <<<$giturl; then
# bitbucket
elif grep -q bitbucket <<<$giturl; then
giturl=${giturl/git\@bitbucket\.org\:/https://bitbucket.org/}
providerUrlDifference="src"
rev="$(git rev-parse HEAD)"
git_pwd="$(git rev-parse --show-prefix)"
providerUrlDifference="src/${rev}/${git_pwd}"
branch="?at=${branch}"
# Atlassian Stash