From 9fa1918f42652c569cc256b2fa44063aa0086ee1 Mon Sep 17 00:00:00 2001 From: David O'Trakoun Date: Sat, 9 May 2015 01:22:18 -0400 Subject: [PATCH] rev parse is useless --- git-open | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/git-open b/git-open index 84ce330..9df3c95 100755 --- a/git-open +++ b/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