From a0f5e6c7aa854b0c87b0ed96e44b8226c53ff258 Mon Sep 17 00:00:00 2001 From: Greg Spencer Date: Thu, 20 Aug 2020 19:03:12 -0700 Subject: [PATCH] Fix the format script so that it works with deleted files. (flutter/engine#20679) When I rewrote the format script, I forgot to filter out deleted files from the list of files that it looks at. This filters the file list to exclude deleted files --- engine/src/flutter/ci/bin/format.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/flutter/ci/bin/format.dart b/engine/src/flutter/ci/bin/format.dart index 1f96409d43..1426edd54f 100644 --- a/engine/src/flutter/ci/bin/format.dart +++ b/engine/src/flutter/ci/bin/format.dart @@ -258,6 +258,7 @@ abstract class FormatChecker { 'diff', '-U0', '--no-color', + '--diff-filter=d', '--name-only', baseGitRef, '--',