From ae09f5fa13dc040f1b7afeaec552b45a1fdac5b3 Mon Sep 17 00:00:00 2001 From: scottmg Date: Tue, 8 Nov 2016 13:37:02 -0800 Subject: [PATCH] Default to not using --find-copies-harder It's too ridiculously slow on Windows and Mac, and there's very little benefit to finding files that were "copied" from an historical file (as opposed to one that's in the current patch). BUG=544889 Review-Url: https://codereview.chromium.org/2488823002 --- third_party/upload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third_party/upload.py b/third_party/upload.py index 7ff42cc96..c44293440 100755 --- a/third_party/upload.py +++ b/third_party/upload.py @@ -674,9 +674,9 @@ group.add_option("--git_similarity", action="store", dest="git_similarity", metavar="SIM", type="int", default=50, help=("Set the minimum similarity percentage for detecting " "renames and copies. See `git diff -C`. (default 50).")) -group.add_option("--git_only_search_patch", action="store_false", default=True, +group.add_option("--git_find_copies_harder", action="store_true", default=False, dest='git_find_copies_harder', - help="Removes --find-copies-harder when seaching for copies") + help="Adds --find-copies-harder when seaching for copies") group.add_option("--git_no_find_copies", action="store_false", default=True, dest="git_find_copies", help=("Prevents git from looking for copies (default off)."))