From 2c3875ea1c41b98c8e5467bb7a56d27c97f30ae8 Mon Sep 17 00:00:00 2001 From: Josip Sokcevic Date: Tue, 22 Aug 2023 17:29:47 +0000 Subject: [PATCH] [fetch] Set diff.ignoreSubmodules to dirty none is too slow for chromium/src (4x), and all doesn't work well with git submodules. R=jojwang Bug: 1470195 Change-Id: I8fd4e27e68ff36b14c9f531a1f90b8d76b8f55d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4802510 Auto-Submit: Josip Sokcevic Reviewed-by: Joanna Wang Commit-Queue: Joanna Wang --- fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch.py b/fetch.py index 969277a28..a804f095c 100755 --- a/fetch.py +++ b/fetch.py @@ -158,7 +158,7 @@ class GclientGitCheckout(GclientCheckout, GitCheckout): self.run_git( 'config', '--add', 'remote.origin.fetch', '+refs/tags/*:refs/tags/*', cwd=wd) - self.run_git('config', 'diff.ignoreSubmodules', 'all', cwd=wd) + self.run_git('config', 'diff.ignoreSubmodules', 'dirty', cwd=wd) CHECKOUT_TYPE_MAP = {