diff --git a/contrib/source-control-tools/apply-revision.sh b/contrib/source-control-tools/apply-revision.sh --- a/contrib/source-control-tools/apply-revision.sh +++ b/contrib/source-control-tools/apply-revision.sh @@ -62,3 +62,7 @@ # Check that the revision is ready to land (tests passed, etc.) : | arc land --hold --revision "${REVISION}" --conduit-token "${CONDUIT_TOKEN}" set -x + +# `arc land --hold` still detaches the git HEAD. master should contain the +# changes we expect to land, so switch back to it. +git checkout master --