Skip to content

Commit ceaeccc

Browse files
authored
filter-out removed files from linux_format.py fix #633 (#663)
1 parent 398a6cd commit ceaeccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/ci_cd/linux_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def get_git_files(
136136
command.append("ls-files")
137137
print("Getting all the repository files.")
138138
else:
139-
command = ["diff", "--no-commit-id", "--name-only", "-r"]
139+
command = ["diff", "--no-commit-id", "--name-only", "-r", "--diff-filter=dr"]
140140

141141
if commits:
142142
command.extend([*commits])

0 commit comments

Comments
 (0)