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

Revert matching file modification status, test=document_fix (#29514)

上级 dc8bb76c
...@@ -64,7 +64,8 @@ function load_CHANGE_OP_FILES_by_header_file { ...@@ -64,7 +64,8 @@ function load_CHANGE_OP_FILES_by_header_file {
# Load op files that PR changes # Load op files that PR changes
function load_CHANGE_OP_FILES { function load_CHANGE_OP_FILES {
local sub_dir change_file local sub_dir change_file
for change_file in $(git diff --name-status origin/develop | grep "^M" | awk '{print $2}') # TODO(Avin0323): Need to filter the files added by the new OP.
for change_file in $(git diff --name-only origin/develop)
do do
# match directory limit # match directory limit
[[ "$change_file" =~ "paddle/fluid/operators/" ]] || continue [[ "$change_file" =~ "paddle/fluid/operators/" ]] || continue
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册