diff --git a/tools/githooks/lib/src/messages.dart b/tools/githooks/lib/src/messages.dart index 787a8a134be51..34fe282397929 100644 --- a/tools/githooks/lib/src/messages.dart +++ b/tools/githooks/lib/src/messages.dart @@ -10,6 +10,9 @@ const String _reset = '\x1B[0m'; /// Prints a reminder to stdout to run `gclient sync -D`. Uses colors when /// stdout supports ANSI escape codes. void printGclientSyncReminder(String command) { + if (command == 'pre-rebase') { + return; + } final String prefix = io.stdout.supportsAnsiEscapes ? _redBoldUnderline : ''; final String postfix = io.stdout.supportsAnsiEscapes ? _reset : ''; io.stderr.writeln('$command: The engine source tree has been updated.');