From 4c3171835b54eb3b31ad8fcb0ffa40094a8d1635 Mon Sep 17 00:00:00 2001 From: "jrg@chromium.org" Date: Mon, 14 Dec 2009 21:47:19 +0000 Subject: [PATCH] --replace-all so we don't accum variables Review URL: http://codereview.chromium.org/504002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@34500 0039d316-1c4b-4281-b951-d872f2087c98 --- git_cl_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_cl_hooks.py b/git_cl_hooks.py index c62520c80..cdb1c35d0 100644 --- a/git_cl_hooks.py +++ b/git_cl_hooks.py @@ -58,7 +58,7 @@ def RunHooks(hook_name, upstream_branch): watchlist = watchlists.Watchlists(options.change.RepositoryRoot()) files = [f.LocalPath() for f in options.change.AffectedFiles()] watchers = watchlist.GetWatchersForPaths(files) - Backquote(['git', 'config', '--add', + Backquote(['git', 'config', '--replace-all', 'rietveld.extracc', ','.join(watchers)]) # Run the presubmit checks.