mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
rev parse is useless
This commit is contained in:
parent
c9ef8a28c4
commit
9fa1918f42
3
git-open
3
git-open
|
|
@ -57,8 +57,7 @@ elif grep -q github <<<$giturl; then
|
|||
elif grep -q bitbucket <<<$giturl; then
|
||||
giturl=${giturl/git\@bitbucket\.org\:/https://bitbucket.org/}
|
||||
providerUrlDifference="src"
|
||||
rev=$(git rev-parse HEAD)
|
||||
branch="${rev}?at=${branch}"
|
||||
branch="?at=${branch}"
|
||||
|
||||
# Atlassian Stash
|
||||
elif grep -q "/scm/" <<<$giturl; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue