From c2e00617237c90aca99868c57425aa046229e57b Mon Sep 17 00:00:00 2001 From: Joanna Wang Date: Wed, 4 Oct 2023 17:40:28 +0000 Subject: [PATCH] Use diff.ignoreSubmodules=all when committing patches. Bug:1486973 Recipe-Nontrivial-Roll: build Change-Id: Ifde97d61d55e7f78068bc2f745ec0816bbb5d694 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4909801 Commit-Queue: Joanna Wang Reviewed-by: Josip Sokcevic --- recipes/README.recipes.md | 2 +- recipes/recipe_modules/presubmit/api.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/README.recipes.md b/recipes/README.recipes.md index 45123b66a..5a72cd455 100644 --- a/recipes/README.recipes.md +++ b/recipes/README.recipes.md @@ -791,7 +791,7 @@ Raises: Returns a presubmit step. -— **def [execute](/recipes/recipe_modules/presubmit/api.py#101)(self, bot_update_step, skip_owners=False, run_all=False):** +— **def [execute](/recipes/recipe_modules/presubmit/api.py#103)(self, bot_update_step, skip_owners=False, run_all=False):** Runs presubmit and sets summary markdown if applicable. diff --git a/recipes/recipe_modules/presubmit/api.py b/recipes/recipe_modules/presubmit/api.py index 538e49415..47748a3c6 100644 --- a/recipes/recipe_modules/presubmit/api.py +++ b/recipes/recipe_modules/presubmit/api.py @@ -85,6 +85,8 @@ class PresubmitApi(recipe_api.RecipeApi): 'user.email=commit-bot@chromium.org', '-c', 'user.name=The Commit Bot', + '-c', + 'diff.ignoreSubmodules=all', 'commit', '-a', '-m',