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 <sokcevic@chromium.org>
Auto-Submit: Thiago Perrotta <tperrotta@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
diff --git a/git_common.py b/git_common.py
index f814ed1..4bac47d 100644
--- a/git_common.py
+++ b/git_common.py
@@ -433,10 +433,10 @@
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)