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
changes/66/408666/1
scottmg 9 years ago committed by Commit bot
parent df86e30194
commit ae09f5fa13

@ -674,9 +674,9 @@ group.add_option("--git_similarity", action="store", dest="git_similarity",
metavar="SIM", type="int", default=50, metavar="SIM", type="int", default=50,
help=("Set the minimum similarity percentage for detecting " help=("Set the minimum similarity percentage for detecting "
"renames and copies. See `git diff -C`. (default 50).")) "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', 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, group.add_option("--git_no_find_copies", action="store_false", default=True,
dest="git_find_copies", dest="git_find_copies",
help=("Prevents git from looking for copies (default off).")) help=("Prevents git from looking for copies (default off)."))

Loading…
Cancel
Save