rev parse is useless

This commit is contained in:
David O'Trakoun 2015-05-09 01:22:18 -04:00
parent c9ef8a28c4
commit 9fa1918f42

View file

@ -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