diff --git a/tools/githooks/lib/src/messages.dart b/tools/githooks/lib/src/messages.dart index 34fe282397929..787a8a134be51 100644 --- a/tools/githooks/lib/src/messages.dart +++ b/tools/githooks/lib/src/messages.dart @@ -10,9 +10,6 @@ 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.'); diff --git a/tools/githooks/lib/src/pre_rebase_command.dart b/tools/githooks/lib/src/pre_rebase_command.dart index 3e81670888261..5da5a9b8ff302 100644 --- a/tools/githooks/lib/src/pre_rebase_command.dart +++ b/tools/githooks/lib/src/pre_rebase_command.dart @@ -4,8 +4,6 @@ import 'package:args/command_runner.dart'; -import 'messages.dart'; - /// The command that implements the pre-rebase githook class PreRebaseCommand extends Command { @override @@ -16,7 +14,6 @@ class PreRebaseCommand extends Command { @override Future run() async { - printGclientSyncReminder(name); // Returning false here will block the rebase. return true; }