mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-16 02:06:17 -04:00
open src to current path
This commit is contained in:
parent
88ce0da6d8
commit
b62ca9a09f
4
git-open
4
git-open
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue