|
@ -23,9 +23,7 @@ OLDBRANCH=${INFO[5]} |
|
|
# See if it's been pushed yet |
|
|
# See if it's been pushed yet |
|
|
if [ -z "$(git branch -vv | grep ^\* | grep \\[origin)" ]; then firstpush; fi |
|
|
if [ -z "$(git branch -vv | grep ^\* | grep \\[origin)" ]; then firstpush; fi |
|
|
|
|
|
|
|
|
which xdg-open >/dev/null && TOOL=xdg-open |
|
|
OPEN=$(echo $(which gnome-open xdg-open open) | awk '{ print $1 }') |
|
|
which gnome-open >/dev/null && TOOL=gnome-open |
|
|
|
|
|
which open >/dev/null && TOOL=open |
|
|
|
|
|
URL="https://github.com/$ORG/$REPO/compare/$TARG...$FORK:$BRANCH?expand=1" |
|
|
URL="https://github.com/$ORG/$REPO/compare/$TARG...$FORK:$BRANCH?expand=1" |
|
|
|
|
|
|
|
|
if [ -z "$OPEN" ]; then |
|
|
if [ -z "$OPEN" ]; then |
|
|