未验证 提交 ed2f57cc 编写于 作者: L LoveAn 提交者: GitHub

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
上级 54d8424e
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册