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

revert-31562-mean
LoveAn 5 years ago committed by GitHub
parent dc8bb76c68
commit bec51b136b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -64,7 +64,8 @@ function load_CHANGE_OP_FILES_by_header_file {
# Load op files that PR changes
function load_CHANGE_OP_FILES {
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
# match directory limit
[[ "$change_file" =~ "paddle/fluid/operators/" ]] || continue

Loading…
Cancel
Save