From c38ebeafb06bc67410ccafea85ee91022f4f7e65 Mon Sep 17 00:00:00 2001 From: Aravind Vasudevan Date: Tue, 29 Aug 2023 20:53:30 +0000 Subject: [PATCH] Fix fsmonitor warning to not include global The chromium build instructions for MacOS includes enabling `fsmonitor` within the repository. With our warning message suggesting to disable it globally, the fsmonitor still stays enabled within the repo. This CL fixes this by disabling `fsmonitor` within the repository. Change-Id: If261af8bc0d0a89bc193c178c8d5b5f80125d7b7 Fixed: 1476695 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4823891 Commit-Queue: Josip Sokcevic Auto-Submit: Aravind Vasudevan Reviewed-by: Josip Sokcevic --- git_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_common.py b/git_common.py index 245eea5f6..e55943711 100644 --- a/git_common.py +++ b/git_common.py @@ -426,7 +426,7 @@ def warn_submodule(): print('WARNING: You have fsmonitor enabled. There is a major issue ' 'resulting in git diff-index returning wrong results. Please ' 'disable it by running:') - print(' git config --global core.fsmonitor false') + print(' git config core.fsmonitor false') print('We will remove this warning once https://crbug.com/1475405 is ' 'fixed.') print(colorama.Style.RESET_ALL)