From ed2f57cc423489482a08c94cc801823f786586ce Mon Sep 17 00:00:00 2001 From: LoveAn Date: Tue, 8 Sep 2020 10:22:53 +0800 Subject: [PATCH] Restore file changes caused by pre-commit (#27105) * Restore file changes caused by pre-commit and test it, test=document_fix * Change argument of checkout, test=document_fix * Remove test code, test=document_fix --- paddle/scripts/paddle_build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index c44e8827f0d..88d9e6e55d5 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -617,6 +617,7 @@ function fetch_upstream_develop_if_not_exist() { function generate_upstream_develop_api_spec() { fetch_upstream_develop_if_not_exist cur_branch=`git branch | grep \* | cut -d ' ' -f2` + git checkout . git checkout -b develop_base_pr upstream/$BRANCH cmake_gen $1 build $2 -- GitLab