You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: review-tools/ghmerge
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ else
144
144
fi
145
145
ADDREVOPTS=${ADDREVOPTS# }# chop any leading ' '
146
146
147
-
[ "$REMOTE"="" ] && REMOTE=`git remote -v | awk /$REMOTESRVR':(openssl|omc|otc).*(push)/{ print $1; }'| head -n 1`# usually this will be 'upstream'
147
+
[ "$REMOTE"="" ] && REMOTE=`git remote -v | awk /$REMOTESRVR'(:|\/)(openssl|omc|otc).*(push)/{ print $1; }'| head -n 1`# usually this will be 'upstream'
148
148
if [ "$REMOTE"="" ] ;then
149
149
echo Cannot find git remote with URL including "$REMOTESRVR"
0 commit comments