From: Vitor Antunes Date: Mon, 22 Aug 2011 08:33:09 +0000 (+0100) Subject: git-p4: Process detectCopiesHarder with --bool X-Git-Tag: v1.7.7-rc1~15^2~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=68cbcf1b2575ca151ed3b11698916bcbbd1b890c;p=git.git git-p4: Process detectCopiesHarder with --bool Signed-off-by: Vitor Antunes Acked-by: Pete Wyckoff Signed-off-by: Junio C Hamano --- diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index 29a5390fb..0db3e7266 100755 --- a/contrib/fast-import/git-p4 +++ b/contrib/fast-import/git-p4 @@ -789,7 +789,7 @@ class P4Submit(Command, P4UserMap): elif detectCopies != "" and detectCopies.lower() != "false": diffOpts += " -C%s" % detectCopies - if gitConfig("git-p4.detectCopiesHarder").lower() == "true": + if gitConfig("git-p4.detectCopiesHarder", "--bool") == "true": diffOpts += " --find-copies-harder" diff = read_pipe_lines("git diff-tree -r %s \"%s^\" \"%s\"" % (diffOpts, id, id))