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
ut_timeout_modifed
LoveAn 4 years ago committed by GitHub
parent 54d8424e93
commit ed2f57cc42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save