Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(716)

Unified Diff: gclient_scm.py

Issue 10636015: Set config option for diff.ignoreSubmodules to 'all' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_scm.py
===================================================================
--- gclient_scm.py (revision 143717)
+++ gclient_scm.py (working copy)
@@ -200,10 +200,14 @@
'git', 'config', '-f', '$toplevel/.git/config',
'submodule.$name.ignore', 'all']
cmd = ['git', 'submodule', '--quiet', 'foreach', ' '.join(submod_cmd)]
+ cmd2 = ['git', 'config', 'diff.ignoreSubmodules', 'all']
try:
gclient_utils.CheckCallAndFilter(
cmd, cwd=self.checkout_path, print_stdout=False,
filter_fn=lambda x: None)
+ gclient_utils.CheckCallAndFilter(
+ cmd2, cwd=self.checkout_path, print_stdout=False,
+ filter_fn=lambda x: None)
except subprocess2.CalledProcessError:
# Not a fatal error, or even very interesting in a non-git-submodule
# world. So just keep it quiet.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698