From 32e7363c50db13facd4363a4e21431dc82c166a3 Mon Sep 17 00:00:00 2001 From: Thiago Perrotta Date: Wed, 4 Oct 2023 16:44:26 +0000 Subject: [PATCH] git: tweak fsmonitor warning message to mention the git version fix R=avi@chromium.org, sokcevic@chromium.org Bug: 1475405 Change-Id: Iaa29a2993871837352eb9d02d368102a212edf49 Follow-up-of: https://crrev.com/c/4892305 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4911838 Reviewed-by: Josip Sokcevic Auto-Submit: Thiago Perrotta Reviewed-by: Avi Drissman Commit-Queue: Josip Sokcevic --- git_common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git_common.py b/git_common.py index f814ed156..4bac47dfc 100644 --- a/git_common.py +++ b/git_common.py @@ -433,10 +433,10 @@ def warn_submodule(): print(colorama.Fore.RED) print('WARNING: You have fsmonitor enabled. There is a major issue ' 'resulting in git diff-index returning wrong results. Please ' - 'disable it by running:') + 'either disable it by running:') print(' git config core.fsmonitor false') - print('We will remove this warning once https://crbug.com/1475405 is ' - 'fixed.') + print('or upgrade git to version >= 2.43.') + print('See https://crbug.com/1475405 for details.') print(colorama.Style.RESET_ALL)