mirror of https://github.com/zulip/zulip.git
tools: Use 'upstream' as expected name for main zulip repo.
Fixes: #1698.
This commit is contained in:
parent
797a7ef97b
commit
4c834172ed
|
@ -3,8 +3,8 @@ set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
request_id="$1"
|
request_id="$1"
|
||||||
git fetch origin "pull/$request_id/head"
|
git fetch upstream "pull/$request_id/head"
|
||||||
git checkout origin/master -b "review-${request_id}"
|
git checkout upstream/master -b "review-${request_id}"
|
||||||
git reset --hard FETCH_HEAD
|
git reset --hard FETCH_HEAD
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,5 @@ set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
request_id="$1"
|
request_id="$1"
|
||||||
git fetch origin "pull/$request_id/head"
|
git fetch upstream "pull/$request_id/head"
|
||||||
git reset --hard FETCH_HEAD
|
git reset --hard FETCH_HEAD
|
||||||
|
|
Loading…
Reference in New Issue